443 current and current.setFont(col, self.__logTreeBoldFont) |
443 current and current.setFont(col, self.__logTreeBoldFont) |
444 previous and previous.setFont(col, self.__logTreeNormalFont) |
444 previous and previous.setFont(col, self.__logTreeNormalFont) |
445 |
445 |
446 # set the state of the up and down buttons |
446 # set the state of the up and down buttons |
447 self.upButton.setEnabled( |
447 self.upButton.setEnabled( |
448 current is not None and |
448 current is not None and |
449 self.logTree.indexOfTopLevelItem(current) > 0) |
449 self.logTree.indexOfTopLevelItem(current) > 0) |
450 self.downButton.setEnabled( |
450 self.downButton.setEnabled( |
451 current is not None and |
451 current is not None and |
452 int(current.text(0)) > 1) |
452 int(current.text(0)) > 1) |
453 |
453 |