diff --git a/aqt/tagedit.py b/aqt/tagedit.py index 547e7c164..fe58819bb 100644 --- a/aqt/tagedit.py +++ b/aqt/tagedit.py @@ -79,6 +79,8 @@ class TagEdit(QLineEdit): self.completer.popup().hide() def hideCompleter(self): + if sip.isdeleted(self.completer): + return self.completer.popup().hide() class TagCompleter(QCompleter):