diff -r a165ff497046 -r 805b36a7ffb7 Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sun Feb 12 18:07:05 2017 +0100 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sun Feb 12 18:10:27 2017 +0100 @@ -1738,8 +1738,8 @@ current is not None and int(current.text(self.RevisionColumn).split(":")[0]) > 0 and (self.logTree.indexOfTopLevelItem(current) < - self.logTree.topLevelItemCount() - 1 - or self.nextButton.isEnabled())) + self.logTree.topLevelItemCount() - 1 or + self.nextButton.isEnabled())) @pyqtSlot() def on_logTree_itemSelectionChanged(self):