tkivy file chooser: set rootpath - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4e8c6160904237214565e2e907f8a5b39fdcee2a DIR parent fe5374fe8ea0e95ff6aa63cfef6c6a192fd86b3d HTML Author: ThomasV <thomasv@electrum.org> Date: Sun, 5 Jun 2016 15:38:06 +0200 kivy file chooser: set rootpath Diffstat: M gui/kivy/uix/dialogs/wallets.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/kivy/uix/dialogs/wallets.py b/gui/kivy/uix/dialogs/wallets.py t@@ -14,7 +14,7 @@ Builder.load_string(''' <WalletDialog@Popup>: title: _('Wallets') id: popup - path: '' + path: os.path.dirname(app.get_wallet_path()) BoxLayout: orientation: 'vertical' padding: '10dp' t@@ -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