HgLogBrowserDialog: fixed incomplete disabling of action menu entries for incoming and outgoing modes.

Thu, 30 May 2019 18:21:17 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 30 May 2019 18:21:17 +0200
changeset 7032
1dd0c392f685
parent 7031
6fafe9ed04b5
child 7033
39b9e66ddbd6

HgLogBrowserDialog: fixed incomplete disabling of action menu entries for incoming and outgoing modes.

eric6/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Wed May 29 22:14:02 2019 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Thu May 30 18:21:17 2019 +0200
@@ -1695,10 +1695,11 @@
         
         elif self.initialCommandMode == "incoming" and self.projectMode:
             for act in [self.__phaseAct, self.__graftAct, self.__mergeAct,
-                        self.__tagAct, self.__switchAct, self.__bookmarkAct,
-                        self.__bookmarkMoveAct, self.__pushAct,
-                        self.__pushAllAct, self.__stripAct, self.__bundleAct,
-                        self.__gpgSignAct, self.__gpgVerifyAct]:
+                        self.__tagAct, self.__closeHeadsAct, self.__switchAct,
+                        self.__bookmarkAct, self.__bookmarkMoveAct,
+                        self.__pushAct, self.__pushAllAct, self.__stripAct,
+                        self.__bundleAct, self.__gpgSignAct,
+                        self.__gpgVerifyAct]:
                 act.setEnabled(False)
             
             self.__pullAct.setText(self.tr("Pull Selected Changes"))
@@ -1726,11 +1727,11 @@
         
         elif self.initialCommandMode == "outgoing" and self.projectMode:
             for act in [self.__phaseAct, self.__graftAct, self.__mergeAct,
-                        self.__tagAct, self.__switchAct, self.__bookmarkAct,
-                        self.__bookmarkMoveAct, self.__pullAct,
-                        self.__lfPullAct, self.__fetchAct, self.__stripAct,
-                        self.__gpgSignAct, self.__gpgVerifyAct,
-                        self.__unbundleAct]:
+                        self.__tagAct, self.__closeHeadsAct, self.__switchAct,
+                        self.__bookmarkAct, self.__bookmarkMoveAct,
+                        self.__pullAct, self.__lfPullAct, self.__fetchAct,
+                        self.__stripAct, self.__gpgSignAct,
+                        self.__gpgVerifyAct, self.__unbundleAct]:
                 act.setEnabled(False)
             
             selectedItemsCount = len(self.logTree.selectedItems())

eric ide

mercurial