eric6/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py

changeset 8151
8c1445825e7b
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8150:fc1ae39af8c9 8151:8c1445825e7b
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 """

eric ide

mercurial