mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing] fixed #8770 (error in batch processign interface)
This commit is contained in:
parent
1b04c51825
commit
cd69462476
@ -126,6 +126,9 @@ class AlgorithmExecutionDialog(QtGui.QDialog):
|
||||
self.buttonBox.rejected.connect(self.close)
|
||||
self.buttonBox.button(
|
||||
QtGui.QDialogButtonBox.Cancel).clicked.connect(self.cancel)
|
||||
|
||||
self.showDebug = ProcessingConfig.getSetting(
|
||||
ProcessingConfig.SHOW_DEBUG_IN_DIALOG)
|
||||
|
||||
def setParamValues(self):
|
||||
params = self.alg.parameters
|
||||
@ -196,14 +199,11 @@ class AlgorithmExecutionDialog(QtGui.QDialog):
|
||||
else:
|
||||
return param.setValue(unicode(widget.text()))
|
||||
|
||||
@pyqtSlot()
|
||||
def accept(self):
|
||||
checkCRS = ProcessingConfig.getSetting(
|
||||
ProcessingConfig.WARN_UNMATCHING_CRS)
|
||||
keepOpen = ProcessingConfig.getSetting(
|
||||
ProcessingConfig.KEEP_DIALOG_OPEN)
|
||||
self.showDebug = ProcessingConfig.getSetting(
|
||||
ProcessingConfig.SHOW_DEBUG_IN_DIALOG)
|
||||
try:
|
||||
self.setParamValues()
|
||||
if checkCRS and not self.alg.checkInputCRS():
|
||||
|
Loading…
x
Reference in New Issue
Block a user