electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 81f25b5f87bc6e1d3afab2b08cab15e0da4c8c40
parent 8b45ea22efb6634e590a302bcc96e6a92d175770
Author: ThomasV <thomasv@gitorious>
Date:   Wed, 15 Feb 2012 11:35:22 +0100

fix

Diffstat:
Mclient/gui_qt.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/gui_qt.py b/client/gui_qt.py @@ -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: @@ -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')