56 self.amendCheckBox.setVisible(False) |
56 self.amendCheckBox.setVisible(False) |
57 self.subrepoCheckBox.setVisible(False) |
57 self.subrepoCheckBox.setVisible(False) |
58 else: |
58 else: |
59 self.subrepoCheckBox.setVisible(vcs.hasSubrepositories()) |
59 self.subrepoCheckBox.setVisible(vcs.hasSubrepositories()) |
60 |
60 |
61 def showEvent(self, evt): |
61 def showEvent(self, _evt): |
62 """ |
62 """ |
63 Protected method called when the dialog is about to be shown. |
63 Protected method called when the dialog is about to be shown. |
64 |
64 |
65 @param evt the event |
65 @param _evt reference to the event object (unused) |
66 @type QShowEvent |
66 @type QShowEvent |
67 """ |
67 """ |
68 commitMessages = self.__vcs.vcsCommitMessages() |
68 commitMessages = self.__vcs.vcsCommitMessages() |
69 self.recentComboBox.clear() |
69 self.recentComboBox.clear() |
70 self.recentComboBox.addItem("") |
70 self.recentComboBox.addItem("") |