41 self.okButton.setEnabled(False) |
41 self.okButton.setEnabled(False) |
42 |
42 |
43 self.tagCombo.clear() |
43 self.tagCombo.clear() |
44 self.tagCombo.addItem("", False) |
44 self.tagCombo.addItem("", False) |
45 for tag, isLocal in sorted(taglist, reverse=True): |
45 for tag, isLocal in sorted(taglist, reverse=True): |
46 if isLocal: |
46 icon = ( |
47 icon = UI.PixmapCache.getIcon("vcsTagLocal") |
47 UI.PixmapCache.getIcon("vcsTagLocal") |
48 else: |
48 if isLocal else |
49 icon = UI.PixmapCache.getIcon("vcsTagGlobal") |
49 UI.PixmapCache.getIcon("vcsTagGlobal") |
|
50 ) |
50 self.tagCombo.addItem(icon, tag, isLocal) |
51 self.tagCombo.addItem(icon, tag, isLocal) |
51 |
52 |
52 if revision: |
53 if revision: |
53 self.revisionEdit.setText(revision) |
54 self.revisionEdit.setText(revision) |
54 |
55 |