Skip to content

Commit c1a2ac8

Browse files
committedMay 21, 2014
[processing] changed dialog from critical to warning
1 parent d83ef3f commit c1a2ac8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎python/plugins/processing/gui/AlgorithmExecutionDialog.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ def setParamValue(self, param, widget):
219219
def accept(self):
220220
checkCRS = ProcessingConfig.getSetting(
221221
ProcessingConfig.WARN_UNMATCHING_CRS)
222-
keepOpen = ProcessingConfig.getSetting(
223-
ProcessingConfig.KEEP_DIALOG_OPEN)
224222
try:
225223
self.setParamValues()
226224
if checkCRS and not self.alg.checkInputCRS():
@@ -234,7 +232,7 @@ def accept(self):
234232
return
235233
msg = self.alg.checkParameterValuesBeforeExecuting()
236234
if msg:
237-
QMessageBox.critical(self, 'Unable to execute algorithm', msg)
235+
QMessageBox.warning(self, 'Unable to execute algorithm', msg)
238236
return
239237
self.runButton.setEnabled(False)
240238
self.buttonBox.button(

0 commit comments

Comments
 (0)
Please sign in to comment.