1
0

labels plugin qt: only update corresponding window; disconnect signal

This commit is contained in:
SomberNight
2018-12-08 06:56:18 +01:00
parent 258b504000
commit 0294844c11
2 changed files with 9 additions and 1 deletions

View File

@@ -75,4 +75,8 @@ class Plugin(LabelsPlugin):
@hook
def on_close_window(self, window):
try:
self.obj.labels_changed_signal.disconnect(window.update_tabs)
except TypeError:
pass # 'method' object is not connected
self.stop_wallet(window.wallet)