57 self.tagCombo.setCurrentIndex(index) |
57 self.tagCombo.setCurrentIndex(index) |
58 # suggest the most relevant tag action |
58 # suggest the most relevant tag action |
59 self.deleteTagButton.setChecked(True) |
59 self.deleteTagButton.setChecked(True) |
60 else: |
60 else: |
61 self.tagCombo.setEditText(tagName) |
61 self.tagCombo.setEditText(tagName) |
|
62 |
|
63 msh = self.minimumSizeHint() |
|
64 self.resize(max(self.width(), msh.width()), msh.height()) |
62 |
65 |
63 @pyqtSlot(str) |
66 @pyqtSlot(str) |
64 def on_tagCombo_editTextChanged(self, text): |
67 def on_tagCombo_editTextChanged(self, text): |
65 """ |
68 """ |
66 Private method used to enable/disable the OK-button. |
69 Private method used to enable/disable the OK-button. |