Skip to content
Permalink
Browse files

[processing] fixed #8770 (error in batch processign interface)

  • Loading branch information
volaya committed Oct 6, 2013
1 parent 1b04c51 commit cd69462476b6803e378a5d0d320090655c19be4d
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/gui/AlgorithmExecutionDialog.py
@@ -126,6 +126,9 @@ def __init__(self, alg, mainWidget):
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 @@ def setParamValue(self, param, widget):
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():

0 comments on commit cd69462

Please sign in to comment.
You can’t perform that action at this time.