From 4e8c6160904237214565e2e907f8a5b39fdcee2a Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 5 Jun 2016 15:38:06 +0200 Subject: [PATCH] kivy file chooser: set rootpath --- gui/kivy/uix/dialogs/wallets.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/kivy/uix/dialogs/wallets.py b/gui/kivy/uix/dialogs/wallets.py index 88f0017cb..5ea5eb369 100644 --- a/gui/kivy/uix/dialogs/wallets.py +++ b/gui/kivy/uix/dialogs/wallets.py @@ -14,7 +14,7 @@ Builder.load_string(''' : title: _('Wallets') id: popup - path: '' + path: os.path.dirname(app.get_wallet_path()) BoxLayout: orientation: 'vertical' padding: '10dp' @@ -23,7 +23,8 @@ Builder.load_string(''' dirselect: False filter_dirs: True filter: '*.*' - path: os.path.dirname(app.get_wallet_path()) + path: root.path + rootpath: root.path size_hint_y: 0.6 Widget size_hint_y: 0.1