34 @param revision revision to set tag for (string) |
34 @param revision revision to set tag for (string) |
35 @param branchName name of the branch (string) |
35 @param branchName name of the branch (string) |
36 @param branchOp desired branch operation (integer) |
36 @param branchOp desired branch operation (integer) |
37 @param parent parent widget (QWidget) |
37 @param parent parent widget (QWidget) |
38 """ |
38 """ |
39 super(GitBranchDialog, self).__init__(parent) |
39 super().__init__(parent) |
40 self.setupUi(self) |
40 self.setupUi(self) |
41 |
41 |
42 self.okButton = self.buttonBox.button( |
42 self.okButton = self.buttonBox.button( |
43 QDialogButtonBox.StandardButton.Ok) |
43 QDialogButtonBox.StandardButton.Ok) |
44 self.okButton.setEnabled(False) |
44 self.okButton.setEnabled(False) |