109 Private slot called by the buttonBox rejected signal. |
109 Private slot called by the buttonBox rejected signal. |
110 """ |
110 """ |
111 self.close() |
111 self.close() |
112 QCoreApplication.exit(1) |
112 QCoreApplication.exit(1) |
113 |
113 |
114 @pyqtSlot(str) |
114 @pyqtSlot(int) |
115 def on_recentComboBox_activated(self, txt): |
115 def on_recentComboBox_activated(self, index): |
116 """ |
116 """ |
117 Private slot to select a commit message from recent ones. |
117 Private slot to select a commit message from recent ones. |
118 |
118 |
119 @param txt text of the selected entry (string) |
119 @param index index of the selected entry |
|
120 @type int |
120 """ |
121 """ |
|
122 txt = self.recentComboBox.itemText(index) |
121 if txt: |
123 if txt: |
122 self.messageEdit.setPlainText(txt) |
124 self.messageEdit.setPlainText(txt) |