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