electrum

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

commit 3c1d6fab694c3c0d823b00d52163bf9877d812d7
parent 0e3c3b59c8d182cbb2465d354605a30cbb72e613
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 16 Mar 2016 18:35:01 +0100

rename method

Diffstat:
Mgui/kivy/uix/dialogs/create_restore.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gui/kivy/uix/dialogs/create_restore.py b/gui/kivy/uix/dialogs/create_restore.py @@ -317,7 +317,7 @@ Builder.load_string(''' IconButton: id: scan height: '48sp' - on_release: root.scan_seed() + on_release: root.scan_xpub() icon: 'atlas://gui/kivy/theming/light/camera' size_hint: 1, None WizardButton: @@ -561,8 +561,8 @@ class RestoreXpubDialog(WizardDialog): def on_text(self, dt): self.ids.next.disabled = not bool(self._test(self.get_text())) - def scan_seed(self): - def on_complete(text): + def scan_xpub(self): + def on_complete(d, text): self.ids.text_input_seed.text = text self.app.scan_qr(on_complete)