Fixed an issue in the Mercurial log browser.

Tue, 07 Feb 2017 19:40:20 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 07 Feb 2017 19:40:20 +0100
changeset 5493
09cd66fa3243
parent 5491
a9d9f294de64
child 5494
fdc53cc1e2fb

Fixed an issue in the Mercurial log browser.

Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py file | annotate | diff | comparison | revisions
diff -r a9d9f294de64 -r 09cd66fa3243 Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Tue Feb 07 18:54:42 2017 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py	Tue Feb 07 19:40:20 2017 +0100
@@ -1629,8 +1629,8 @@
             self.logTree.setCurrentItem(itm)
         else:
             # load the next bunch and try again
-            self.__addFinishCallback(self.on_downButton_clicked)
             if self.nextButton.isEnabled():
+                self.__addFinishCallback(self.on_downButton_clicked)
                 self.on_nextButton_clicked()
     
     @pyqtSlot()
@@ -2229,8 +2229,9 @@
                 self.logTree.setCurrentItem(itm)
             else:
                 # load the next batch and try again
-                self.__addFinishCallback(lambda: self.__revisionClicked(url))
                 if self.nextButton.isEnabled():
+                    self.__addFinishCallback(
+                        lambda: self.__revisionClicked(url))
                     self.on_nextButton_clicked()
     
     ###########################################################################

eric ide

mercurial