mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[processing] More informative message when cannot compute gdal commands due to wrong params
This commit is contained in:
parent
943b101501
commit
41c9da9b0b
@ -69,5 +69,7 @@ class GdalParametersPanel(ParametersPanel):
|
||||
commands = self.alg.getConsoleCommands()
|
||||
commands = [c for c in commands if c not in ['cmd.exe', '/C ']]
|
||||
self.text.setPlainText(" ".join(commands))
|
||||
except AlgorithmDialogBase.InvalidParameterValue, e:
|
||||
self.text.setPlainText("Invalid value for parameter '%s'" % e.parameter.description)
|
||||
except:
|
||||
self.text.setPlainText("")
|
||||
|
Loading…
x
Reference in New Issue
Block a user