eric6/Plugins/VcsPlugins/vcsGit/GitBranchDialog.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
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