From 0f1180ad95b6bacf5a752eff8747f261faeaa0d8 Mon Sep 17 00:00:00 2001 From: BTChip Date: Mon, 6 Jul 2015 15:46:12 +0200 Subject: [PATCH] Rename signals to avoid name clashes --- plugins/btchipwallet.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py index 9369dc73a..e0f997d94 100644 --- a/plugins/btchipwallet.py +++ b/plugins/btchipwallet.py @@ -511,8 +511,8 @@ class BTChipQTHandler: def __init__(self, win): self.win = win self.win.connect(win, SIGNAL('btchip_done'), self.dialog_stop) - self.win.connect(win, SIGNAL('message_dialog'), self.message_dialog) - self.win.connect(win, SIGNAL('auth_dialog'), self.auth_dialog) + self.win.connect(win, SIGNAL('btchip_message_dialog'), self.message_dialog) + self.win.connect(win, SIGNAL('btchip_auth_dialog'), self.auth_dialog) self.done = threading.Event() def stop(self): @@ -520,12 +520,12 @@ class BTChipQTHandler: def show_message(self, msg): self.message = msg - self.win.emit(SIGNAL('message_dialog')) + self.win.emit(SIGNAL('btchip_message_dialog')) def prompt_auth(self, msg): self.done.clear() self.message = msg - self.win.emit(SIGNAL('auth_dialog')) + self.win.emit(SIGNAL('btchip_auth_dialog')) self.done.wait() return self.response