29 @param showBranches flag indicating to show the branch selection |
29 @param showBranches flag indicating to show the branch selection |
30 (boolean) |
30 (boolean) |
31 @param showHead flag indicating to show the head selection (boolean) |
31 @param showHead flag indicating to show the head selection (boolean) |
32 @param parent parent widget (QWidget) |
32 @param parent parent widget (QWidget) |
33 """ |
33 """ |
34 super(GitRevisionSelectionDialog, self).__init__(parent) |
34 super().__init__(parent) |
35 self.setupUi(self) |
35 self.setupUi(self) |
36 |
36 |
37 self.buttonBox.button( |
37 self.buttonBox.button( |
38 QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
38 QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
39 |
39 |