eric6/Plugins/VcsPlugins/vcsGit/GitBranchDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
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

eric ide

mercurial