eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py

branch
eric7
changeset 8322
b422b4e77d19
parent 8318
962bce857696
child 8356
68ec9c3d4de5
--- a/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py	Mon May 17 19:58:15 2021 +0200
+++ b/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py	Tue May 18 18:19:47 2021 +0200
@@ -67,9 +67,7 @@
                 self.tr("Unsaved Changes"),
                 self.tr("""The guards list has been changed."""
                         """ Shall the changes be applied?"""),
-                E5MessageBox.StandardButtons(
-                    E5MessageBox.Apply |
-                    E5MessageBox.Discard),
+                E5MessageBox.Apply | E5MessageBox.Discard,
                 E5MessageBox.Apply)
             if res == E5MessageBox.Apply:
                 self.__applyGuards()
@@ -100,9 +98,7 @@
                 self.tr("Unsaved Changes"),
                 self.tr("""The guards list has been changed."""
                         """ Shall the changes be applied?"""),
-                E5MessageBox.StandardButtons(
-                    E5MessageBox.Apply |
-                    E5MessageBox.Discard),
+                E5MessageBox.Apply | E5MessageBox.Discard,
                 E5MessageBox.Apply)
             if res == E5MessageBox.Apply:
                 self.__applyGuards()

eric ide

mercurial