Skip to content
Permalink
Browse files

[processing] Fix misleading "cancel" label shown for "close" button

This button isn't a cancel button - it just closes the dialog, and
doesn't abort any changes which have already been made as a result
of running the algorithm through the dialog.
  • Loading branch information
nyalldawson committed Mar 16, 2021
1 parent 42ee7ef commit b2b795659ed5ee126db44e9d76db3ae28954eea9
Showing with 0 additions and 2 deletions.
  1. +0 −2 python/plugins/processing/gui/AlgorithmDialog.py
@@ -83,8 +83,6 @@ def __init__(self, alg, in_place=False, parent=None):
self.buttonBox().button(QDialogButtonBox.Ok).setText(
QCoreApplication.translate("AlgorithmDialog", "Modify Selected Features")
if has_selection else QCoreApplication.translate("AlgorithmDialog", "Modify All Features"))
self.buttonBox().button(QDialogButtonBox.Close).setText(
QCoreApplication.translate("AlgorithmDialog", "Cancel"))
self.setWindowTitle(self.windowTitle() + ' | ' + self.active_layer.name())

self.updateRunButtonVisibility()

0 comments on commit b2b7956

Please sign in to comment.