Skip to content

Commit

Permalink
[processing] changed dialog from critical to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed May 21, 2014
1 parent d83ef3f commit c1a2ac8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/plugins/processing/gui/AlgorithmExecutionDialog.py
Expand Up @@ -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():
Expand All @@ -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(
Expand Down

0 comments on commit c1a2ac8

Please sign in to comment.