Fixed a bug in the Mercurial log browser dialog causing the Next button not being re-enabled at a refresh. 5_4_x

Wed, 19 Feb 2014 19:33:25 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 19 Feb 2014 19:33:25 +0100
branch
5_4_x
changeset 3286
91691f30f9f2
parent 3285
9e5b6fc3e74f
child 3295
c4f5df34c15a

Fixed a bug in the Mercurial log browser dialog causing the Next button not being re-enabled at a refresh.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Tue Feb 18 19:25:24 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Wed Feb 19 19:33:25 2014 +0100
@@ -1325,6 +1325,13 @@
         
         self.__initData()
         
+        if self.initialCommandMode in ("incoming", "outgoing"):
+            self.nextButton.setEnabled(False)
+            self.limitSpinBox.setEnabled(False)
+        else:
+            self.nextButton.setEnabled(True)
+            self.limitSpinBox.setEnabled(True)
+        
         self.commandMode = self.initialCommandMode
         self.start(self.filename)
     

eric ide

mercurial