48 if vcs.version < (1, 5, 0): |
48 if vcs.version < (1, 5, 0): |
49 self.changeListsGroup.hide() |
49 self.changeListsGroup.hide() |
50 else: |
50 else: |
51 self.changeLists.addItems(sorted(vcs.svnGetChangelists())) |
51 self.changeLists.addItems(sorted(vcs.svnGetChangelists())) |
52 |
52 |
53 def showEvent(self, evt): |
53 def showEvent(self, _evt): |
54 """ |
54 """ |
55 Protected method called when the dialog is about to be shown. |
55 Protected method called when the dialog is about to be shown. |
56 |
56 |
57 @param evt the event |
57 @param _evt reference to the event object (unused) |
58 @type QShowEvent |
58 @type QShowEvent |
59 """ |
59 """ |
60 commitMessages = self.__vcs.vcsCommitMessages() |
60 commitMessages = self.__vcs.vcsCommitMessages() |
61 self.recentComboBox.clear() |
61 self.recentComboBox.clear() |
62 self.recentComboBox.addItem("") |
62 self.recentComboBox.addItem("") |