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 authored and github-actions committed Mar 16, 2021
1 parent e9b4fa2 commit c6442a17d495ef18f781053e0e01d016fcea690d
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 c6442a1

Please sign in to comment.