1066 self.branchCombo.setCurrentIndex( |
1066 self.branchCombo.setCurrentIndex( |
1067 self.branchCombo.findText(branchFilter)) |
1067 self.branchCombo.findText(branchFilter)) |
1068 |
1068 |
1069 self.__filterLogsEnabled = True |
1069 self.__filterLogsEnabled = True |
1070 if self.__actionMode() == "filter": |
1070 if self.__actionMode() == "filter": |
1071 self.__filterLogs() |
1071 self.__filterLogs() |
1072 self.__updateDiffButtons() |
1072 self.__updateDiffButtons() |
1073 self.__updateToolMenuActions() |
1073 self.__updateToolMenuActions() |
1074 |
1074 |
1075 # restore current item |
1075 # restore current item |
1076 if self.__currentRevision: |
1076 if self.__currentRevision: |
1707 |
1707 |
1708 @pyqtSlot(int) |
1708 @pyqtSlot(int) |
1709 def on_modeComboBox_currentIndexChanged(self, index): |
1709 def on_modeComboBox_currentIndexChanged(self, index): |
1710 """ |
1710 """ |
1711 Private slot to react on mode changes. |
1711 Private slot to react on mode changes. |
|
1712 |
|
1713 @param index index of the selected entry (integer) |
1712 """ |
1714 """ |
1713 mode = self.modeComboBox.itemData(index) |
1715 mode = self.modeComboBox.itemData(index) |
1714 findMode = mode == "find" |
1716 findMode = mode == "find" |
1715 filterMode = mode == "filter" |
1717 filterMode = mode == "filter" |
1716 |
1718 |