kivy file chooser: set rootpath

This commit is contained in:
ThomasV 2016-06-05 15:38:06 +02:00
parent fe5374fe8e
commit 4e8c616090
1 changed files with 3 additions and 2 deletions

View File

@ -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'
@ -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