Skip to content
Permalink
Browse files
[processing] changed dialog from critical to warning
  • Loading branch information
volaya committed May 21, 2014
1 parent d83ef3f commit c1a2ac8678b846a41713a61fa50eb51ba0ab4a80
Showing with 1 addition and 3 deletions.
  1. +1 −3 python/plugins/processing/gui/AlgorithmExecutionDialog.py
@@ -219,8 +219,6 @@ def setParamValue(self, param, widget):
def accept(self):
checkCRS = ProcessingConfig.getSetting(
ProcessingConfig.WARN_UNMATCHING_CRS)
keepOpen = ProcessingConfig.getSetting(
ProcessingConfig.KEEP_DIALOG_OPEN)
try:
self.setParamValues()
if checkCRS and not self.alg.checkInputCRS():
@@ -234,7 +232,7 @@ def accept(self):
return
msg = self.alg.checkParameterValuesBeforeExecuting()
if msg:
QMessageBox.critical(self, 'Unable to execute algorithm', msg)
QMessageBox.warning(self, 'Unable to execute algorithm', msg)
return
self.runButton.setEnabled(False)
self.buttonBox.button(

0 comments on commit c1a2ac8

Please sign in to comment.