552 current and current.setFont(col, self.__logTreeBoldFont) |
552 current and current.setFont(col, self.__logTreeBoldFont) |
553 previous and previous.setFont(col, self.__logTreeNormalFont) |
553 previous and previous.setFont(col, self.__logTreeNormalFont) |
554 |
554 |
555 # set the state of the up and down buttons |
555 # set the state of the up and down buttons |
556 self.upButton.setEnabled( |
556 self.upButton.setEnabled( |
557 current is not None and |
557 current is not None and |
558 self.logTree.indexOfTopLevelItem(current) > 0) |
558 self.logTree.indexOfTopLevelItem(current) > 0) |
559 self.downButton.setEnabled( |
559 self.downButton.setEnabled( |
560 current is not None and |
560 current is not None and |
561 int(current.text(0)) > 1) |
561 int(current.text(0)) > 1) |
562 |
562 |