tkivy: fix wallet selection dialog - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit b1f9f7faed20fa8ee3952f331334e004f492e64c
DIR parent 702924a07efe142fac5cbfe443dcf549b72f2cf3
HTML Author: ThomasV <thomasv@electrum.org>
Date: Tue, 19 Jan 2016 16:11:23 +0100
kivy: fix wallet selection dialog
Diffstat:
M gui/kivy/uix/dialogs/wallets.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/gui/kivy/uix/dialogs/wallets.py b/gui/kivy/uix/dialogs/wallets.py
t@@ -50,8 +50,8 @@ class WalletDialog(Factory.Popup):
def cb(text):
if text:
app.load_wallet_by_name(os.path.join(dirname, text))
- if self.path:
- app.load_wallet_by_name(self.path)
+ if self.ids.wallet_selector.selection:
+ app.load_wallet_by_name(self.ids.wallet_selector.selection[0])
else:
d = LabelDialog(_('Enter wallet name'), '', cb)
d.open()