24 @param vcs reference to the VCS object |
24 @param vcs reference to the VCS object |
25 @type Hg |
25 @type Hg |
26 @param parent reference to the parent widget |
26 @param parent reference to the parent widget |
27 @type QWidget |
27 @type QWidget |
28 """ |
28 """ |
29 super(HgCloseHeadSelectionDialog, self).__init__(parent) |
29 super().__init__(parent) |
30 self.setupUi(self) |
30 self.setupUi(self) |
31 |
31 |
32 self.buttonBox.button( |
32 self.buttonBox.button( |
33 QDialogButtonBox.StandardButton.Cancel).setDefault(True) |
33 QDialogButtonBox.StandardButton.Cancel).setDefault(True) |
34 self.buttonBox.button( |
34 self.buttonBox.button( |