Created
November 2, 2016 13:33
-
-
Save smellman/053246bcec462c3898d1c77d393e0a3b to your computer and use it in GitHub Desktop.
QGIS ConfigDialog error patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- tmp/ConfigDialog.py 2016-11-02 21:53:40.000000000 +0900 | |
+++ /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/gui/ConfigDialog.py 2016-11-02 22:15:03.000000000 +0900 | |
@@ -248,8 +248,9 @@ | |
try: | |
setting.setValue(unicode(self.items[setting].text())) | |
except ValueError as e: | |
+ msg = 'Wrong value for parameter "%s"\n\n%s' % (setting.description, unicode(e)) | |
QMessageBox.warning(self, self.tr('Wrong value'), | |
- self.tr('Wrong value for parameter "%s":\n\n%s' % (setting.description, unicode(e)))) | |
+ msg) | |
return | |
setting.save() | |
Processing.updateAlgsList() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment