Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

changeset 5494
fdc53cc1e2fb
parent 5493
09cd66fa3243
child 5496
d157a2319073
equal deleted inserted replaced
5493:09cd66fa3243 5494:fdc53cc1e2fb
1596 self.upButton.setEnabled( 1596 self.upButton.setEnabled(
1597 current is not None and 1597 current is not None and
1598 self.logTree.indexOfTopLevelItem(current) > 0) 1598 self.logTree.indexOfTopLevelItem(current) > 0)
1599 self.downButton.setEnabled( 1599 self.downButton.setEnabled(
1600 current is not None and 1600 current is not None and
1601 int(current.text(self.RevisionColumn).split(":")[0]) > 0) 1601 int(current.text(self.RevisionColumn).split(":")[0]) > 0 and
1602 (self.logTree.indexOfTopLevelItem(current) <
1603 self.logTree.topLevelItemCount() - 1
1604 or self.nextButton.isEnabled()))
1602 1605
1603 @pyqtSlot() 1606 @pyqtSlot()
1604 def on_logTree_itemSelectionChanged(self): 1607 def on_logTree_itemSelectionChanged(self):
1605 """ 1608 """
1606 Private slot called, when the selection has changed. 1609 Private slot called, when the selection has changed.

eric ide

mercurial