44 self.setupUi(self) |
44 self.setupUi(self) |
45 |
45 |
46 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
46 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
47 |
47 |
48 self.tagCombo.addItems(sorted(tagsList)) |
48 self.tagCombo.addItems(sorted(tagsList)) |
49 self.branchCombo.addItems(["master"] + sorted(branchesList)) |
49 self.branchCombo.addItems(["main"] + sorted(branchesList)) |
50 |
50 |
51 self.tipButton.setVisible(showHead) |
51 self.tipButton.setVisible(showHead) |
52 self.branchButton.setVisible(showBranches) |
52 self.branchButton.setVisible(showBranches) |
53 self.branchCombo.setVisible(showBranches) |
53 self.branchCombo.setVisible(showBranches) |
54 |
54 |