kivy file chooser: set rootpath
This commit is contained in:
parent
fe5374fe8e
commit
4e8c616090
|
@ -14,7 +14,7 @@ Builder.load_string('''
|
||||||
<WalletDialog@Popup>:
|
<WalletDialog@Popup>:
|
||||||
title: _('Wallets')
|
title: _('Wallets')
|
||||||
id: popup
|
id: popup
|
||||||
path: ''
|
path: os.path.dirname(app.get_wallet_path())
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
padding: '10dp'
|
padding: '10dp'
|
||||||
|
@ -23,7 +23,8 @@ Builder.load_string('''
|
||||||
dirselect: False
|
dirselect: False
|
||||||
filter_dirs: True
|
filter_dirs: True
|
||||||
filter: '*.*'
|
filter: '*.*'
|
||||||
path: os.path.dirname(app.get_wallet_path())
|
path: root.path
|
||||||
|
rootpath: root.path
|
||||||
size_hint_y: 0.6
|
size_hint_y: 0.6
|
||||||
Widget
|
Widget
|
||||||
size_hint_y: 0.1
|
size_hint_y: 0.1
|
||||||
|
|
Loading…
Reference in New Issue