kivy: fix wallet selection dialog
This commit is contained in:
@@ -50,8 +50,8 @@ class WalletDialog(Factory.Popup):
|
|||||||
def cb(text):
|
def cb(text):
|
||||||
if text:
|
if text:
|
||||||
app.load_wallet_by_name(os.path.join(dirname, text))
|
app.load_wallet_by_name(os.path.join(dirname, text))
|
||||||
if self.path:
|
if self.ids.wallet_selector.selection:
|
||||||
app.load_wallet_by_name(self.path)
|
app.load_wallet_by_name(self.ids.wallet_selector.selection[0])
|
||||||
else:
|
else:
|
||||||
d = LabelDialog(_('Enter wallet name'), '', cb)
|
d = LabelDialog(_('Enter wallet name'), '', cb)
|
||||||
d.open()
|
d.open()
|
||||||
|
|||||||
Reference in New Issue
Block a user