GC the dialog once done.
This commit is contained in:
parent
889976915a
commit
91d0504f31
|
@ -166,6 +166,7 @@ class QtHandler(QObject, PrintError):
|
||||||
data = self.character_dialog.data
|
data = self.character_dialog.data
|
||||||
if not data or 'done' in data:
|
if not data or 'done' in data:
|
||||||
self.character_dialog.accept()
|
self.character_dialog.accept()
|
||||||
|
self.character_dialog = None
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def get_pin(self, msg):
|
def get_pin(self, msg):
|
||||||
|
|
Loading…
Reference in New Issue