tfix - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 81f25b5f87bc6e1d3afab2b08cab15e0da4c8c40 DIR parent 8b45ea22efb6634e590a302bcc96e6a92d175770 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 15 Feb 2012 11:35:22 +0100 fix Diffstat: M client/gui_qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/client/gui_qt.py b/client/gui_qt.py t@@ -177,7 +177,7 @@ class ElectrumWindow(QMainWindow): r = r.strip() if re.match('^(|([\w\-\.]+)@)((\w[\w\-]+\.)+[\w\-]+)$', r): try: - to_address = self.wallet.get_alias(r, interactive=False) + to_address = self.wallet.get_alias(r, True, self.show_message, self.question) except: return if to_address: t@@ -660,7 +660,7 @@ class ElectrumWindow(QMainWindow): QMessageBox.information(parent, 'Seed', msg, 'OK') def question(self, msg): - return QMessageBox.question(self, 'Message', msg, QMessageBox.Yes | QMessageBox.No, QMessageBox.No) + return QMessageBox.question(self, 'Message', msg, QMessageBox.Yes | QMessageBox.No, QMessageBox.No) == QMessageBox.Yes def show_message(self, msg): QMessageBox.information(self, 'Message', msg, 'OK')