53 self.logEdit.setPlainText(msg) |
53 self.logEdit.setPlainText(msg) |
54 |
54 |
55 self.amendCheckBox.setChecked(amend) |
55 self.amendCheckBox.setChecked(amend) |
56 self.stagedCheckBox.setChecked(not commitAll) |
56 self.stagedCheckBox.setChecked(not commitAll) |
57 |
57 |
58 def showEvent(self, evt): |
58 def showEvent(self, _evt): |
59 """ |
59 """ |
60 Protected method called when the dialog is about to be shown. |
60 Protected method called when the dialog is about to be shown. |
61 |
61 |
62 @param evt the event |
62 @param _evt the event (unused) |
63 @type QShowEvent |
63 @type QShowEvent |
64 """ |
64 """ |
65 commitMessages = self.__vcs.vcsCommitMessages() |
65 commitMessages = self.__vcs.vcsCommitMessages() |
66 self.recentComboBox.clear() |
66 self.recentComboBox.clear() |
67 self.recentComboBox.addItem("") |
67 self.recentComboBox.addItem("") |