Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

branch
Py2 comp.
changeset 2678
6e40469b845b
parent 2677
3d4277929fb3
child 2791
a9577f248f04
diff -r 3d4277929fb3 -r 6e40469b845b Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Tue May 28 20:52:12 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Thu May 30 14:48:05 2013 +0200
@@ -1055,21 +1055,6 @@
             else:
                 self.graftButton.setEnabled(False)
     
-    def __updateGraftButton(self):
-        """
-        Private slot to update the status of the graft button.
-        """
-        if self.graftButton.isVisible():
-            # step 1: count selected entries not belonging to the current branch
-            otherBranches = 0
-            for itm in self.logTree.selectedItems():
-                branch = itm.text(self.BranchColumn)
-                if branch != self.__projectBranch:
-                    otherBranches += 1
-            
-            # step 2: set the status of the graft button
-            self.graftButton.setEnabled(otherBranches > 0)
-    
     def __updateGui(self, itm):
         """
         Private slot to update GUI elements except the diff and phase buttons.

eric ide

mercurial