Skip to content
Permalink
Browse files

[processing] fixed message to indicate unconfigured GRASS provider

It now displays the same message for GRASS 6 than for GRASS 7
  • Loading branch information
volaya committed Sep 30, 2015
1 parent ea712c6 commit 3bb677e90675e943fe9e7dbf4ec12a7f3b5169c5
Showing with 1 addition and 7 deletions.
  1. +1 −7 python/plugins/processing/algs/grass/GrassAlgorithm.py
@@ -489,13 +489,7 @@ def commandLineName(self):
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:'):]

0 comments on commit 3bb677e

Please sign in to comment.
You can’t perform that action at this time.