94 Private slot called by the buttonBox rejected signal. |
94 Private slot called by the buttonBox rejected signal. |
95 """ |
95 """ |
96 self.close() |
96 self.close() |
97 self.rejected.emit() |
97 self.rejected.emit() |
98 |
98 |
99 @pyqtSlot(str) |
99 @pyqtSlot(int) |
100 def on_recentComboBox_activated(self, txt): |
100 def on_recentComboBox_activated(self, index): |
101 """ |
101 """ |
102 Private slot to select a commit message from recent ones. |
102 Private slot to select a commit message from recent ones. |
103 |
103 |
104 @param txt text of the selected entry (string) |
104 @param index index of the selected entry |
|
105 @type int |
105 """ |
106 """ |
|
107 txt = self.recentComboBox.itemText(index) |
106 if txt: |
108 if txt: |
107 self.logEdit.setPlainText(self.recentComboBox.currentData()) |
109 self.logEdit.setPlainText(self.recentComboBox.currentData()) |
108 |
110 |
109 def getCommitData(self): |
111 def getCommitData(self): |
110 """ |
112 """ |