eric6/Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
32 @param parent parent widget of this dialog (QWidget) 32 @param parent parent widget of this dialog (QWidget)
33 """ 33 """
34 super(HgCommandDialog, self).__init__(parent) 34 super(HgCommandDialog, self).__init__(parent)
35 self.setupUi(self) 35 self.setupUi(self)
36 36
37 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) 37 self.okButton = self.buttonBox.button(
38 QDialogButtonBox.StandardButton.Ok)
38 self.okButton.setEnabled(False) 39 self.okButton.setEnabled(False)
39 40
40 self.commandCombo.clear() 41 self.commandCombo.clear()
41 self.commandCombo.addItems(argvList) 42 self.commandCombo.addItems(argvList)
42 if len(argvList) > 0: 43 if len(argvList) > 0:

eric ide

mercurial