Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fixed #8770 (error in batch processign interface)
  • Loading branch information
volaya committed Oct 6, 2013
1 parent 1b04c51 commit cd69462
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/gui/AlgorithmExecutionDialog.py
Expand Up @@ -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
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit cd69462

Please sign in to comment.