GC the dialog once done.

This commit is contained in:
Neil Booth 2016-01-23 14:33:46 +09:00
parent 889976915a
commit 91d0504f31
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ class QtHandler(QObject, PrintError):
data = self.character_dialog.data
if not data or 'done' in data:
self.character_dialog.accept()
self.character_dialog = None
return data
def get_pin(self, msg):