eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py

branch
maintenance
changeset 8273
698ae46f40a4
parent 8176
31965986ecd1
parent 8218
7c09585bd960
equal deleted inserted replaced
8190:fb0ef164f536 8273:698ae46f40a4
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