Skip to content
Permalink
Browse files

Revert "translation string fix"

Causes 'AlgorithmDialog' object has no attribute 'trUtf8' error when
trying to launch processing algorithms
  • Loading branch information
nyalldawson committed Aug 4, 2017
1 parent 69a25d0 commit 79a095cb69a38aec373ac4e04376e13b19042012
@@ -58,7 +58,7 @@ def __init__(self, alg):

self.setMainWidget(GdalParametersPanel(self, alg))

self.runAsBatchButton = QPushButton(self.trUtf8("Run as Batch Process…"))
self.runAsBatchButton = QPushButton(self.tr("Run as Batch Process…"))
self.runAsBatchButton.clicked.connect(self.runAsBatch)
self.buttonBox.addButton(self.runAsBatchButton, QDialogButtonBox.ResetRole) # reset role to ensure left alignment

@@ -83,7 +83,7 @@ def __init__(self, alg):
self.bar.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
self.layout().insertWidget(0, self.bar)

self.runAsBatchButton = QPushButton(self.trUtf8("Run as Batch Process…"))
self.runAsBatchButton = QPushButton(self.tr("Run as Batch Process…"))
self.runAsBatchButton.clicked.connect(self.runAsBatch)
self.buttonBox.addButton(self.runAsBatchButton, QDialogButtonBox.ResetRole) # reset role to ensure left alignment

0 comments on commit 79a095c

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