37 @param parent parent widget (QWidget) |
37 @param parent parent widget (QWidget) |
38 """ |
38 """ |
39 super(GitBranchDialog, self).__init__(parent) |
39 super(GitBranchDialog, self).__init__(parent) |
40 self.setupUi(self) |
40 self.setupUi(self) |
41 |
41 |
42 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
42 self.okButton = self.buttonBox.button( |
|
43 QDialogButtonBox.StandardButton.Ok) |
43 self.okButton.setEnabled(False) |
44 self.okButton.setEnabled(False) |
44 |
45 |
45 self.__remoteBranches = [b for b in branchlist |
46 self.__remoteBranches = [b for b in branchlist |
46 if b.startswith("remotes/")] |
47 if b.startswith("remotes/")] |
47 self.__lokalBranches = [b for b in branchlist |
48 self.__lokalBranches = [b for b in branchlist |