Skip to content

Commit

Permalink
Revert "translation string fix"
Browse files Browse the repository at this point in the history
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 79a095c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/AlgorithmDialog.py
Expand Up @@ -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

Expand Down

0 comments on commit 79a095c

Please sign in to comment.