34 @param parent parent widget (QWidget) |
34 @param parent parent widget (QWidget) |
35 """ |
35 """ |
36 super(HgTagDialog, self).__init__(parent) |
36 super(HgTagDialog, self).__init__(parent) |
37 self.setupUi(self) |
37 self.setupUi(self) |
38 |
38 |
39 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
39 self.okButton = self.buttonBox.button( |
|
40 QDialogButtonBox.StandardButton.Ok) |
40 self.okButton.setEnabled(False) |
41 self.okButton.setEnabled(False) |
41 |
42 |
42 self.tagCombo.clear() |
43 self.tagCombo.clear() |
43 self.tagCombo.addItem("", False) |
44 self.tagCombo.addItem("", False) |
44 for tag, isLocal in sorted(taglist, reverse=True): |
45 for tag, isLocal in sorted(taglist, reverse=True): |