mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-18 00:04:02 -04:00
[processing] fixed message to indicate unconfigured GRASS provider
It now displays the same message for GRASS 6 than for GRASS 7
This commit is contained in:
parent
ea712c6c23
commit
3bb677e906
@ -489,13 +489,7 @@ class GrassAlgorithm(GeoAlgorithm):
|
||||
def checkBeforeOpeningParametersDialog(self):
|
||||
msg = GrassUtils.checkGrassIsInstalled()
|
||||
if msg is not None:
|
||||
html = self.tr(
|
||||
'<p>This algorithm requires GRASS to be run. Unfortunately, '
|
||||
'it seems that GRASS is not installed in your system, or it '
|
||||
'is not correctly configured to be used from QGIS</p>'
|
||||
'<p><a href="http://docs.qgis.org/testing/en/docs/user_manual/processing/3rdParty.html">Click here</a> '
|
||||
'to know more about how to install and configure GRASS to be used with QGIS</p>')
|
||||
return html
|
||||
return msg
|
||||
|
||||
def checkParameterValuesBeforeExecuting(self):
|
||||
name = self.commandLineName().replace('.', '_')[len('grass:'):]
|
||||
|
Loading…
x
Reference in New Issue
Block a user