From 444f99b7ba2adfc4cf78e22df309052b87398f14 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 27 May 2013 11:37:35 +0900 Subject: [PATCH] pass enter back to qwidget so add tags dialog can close on enter --- aqt/tagedit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/tagedit.py b/aqt/tagedit.py index 46b8e2cbb..c6987714f 100644 --- a/aqt/tagedit.py +++ b/aqt/tagedit.py @@ -36,6 +36,7 @@ class TagEdit(QLineEdit): def keyPressEvent(self, evt): if evt.key() in (Qt.Key_Enter, Qt.Key_Return): self.hideCompleter() + QWidget.keyPressEvent(self, evt) return QLineEdit.keyPressEvent(self, evt) if not evt.text():