mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-22 00:14:55 -05:00
[processing] changed dialog from critical to warning
This commit is contained in:
parent
d83ef3fe3a
commit
c1a2ac8678
@ -219,8 +219,6 @@ class AlgorithmExecutionDialog(QtGui.QDialog):
|
||||
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 @@ class AlgorithmExecutionDialog(QtGui.QDialog):
|
||||
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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user