eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8273
698ae46f40a4
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
32 @param hg reference to the Mercurial interface object (Hg) 32 @param hg reference to the Mercurial interface object (Hg)
33 @param useClient flag indicating to use the command server client 33 @param useClient flag indicating to use the command server client
34 if possible (boolean) 34 if possible (boolean)
35 @param parent parent widget (QWidget) 35 @param parent parent widget (QWidget)
36 """ 36 """
37 super(HgDialog, self).__init__(parent) 37 super().__init__(parent)
38 self.setupUi(self) 38 self.setupUi(self)
39 self.setWindowFlags(Qt.WindowType.Window) 39 self.setWindowFlags(Qt.WindowType.Window)
40 40
41 self.buttonBox.button( 41 self.buttonBox.button(
42 QDialogButtonBox.StandardButton.Close).setEnabled(False) 42 QDialogButtonBox.StandardButton.Close).setEnabled(False)

eric ide

mercurial