don't reshow the popup when ret hit

This commit is contained in:
Damien Elmes 2012-04-22 09:45:40 +09:00
parent 8b0f73a960
commit 587b83b424

View file

@ -38,6 +38,7 @@ class TagEdit(QLineEdit):
if not evt.text():
# if it's a modifier, don't show
return
if evt.key() not in (Qt.Key_Enter, Qt.Key_Return):
self.showCompleter()
def showCompleter(self):