src/eric7/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
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("")

eric ide

mercurial