Browse Source

kivy file chooser: set rootpath

283
ThomasV 9 years ago
parent
commit
4e8c616090
  1. 5
      gui/kivy/uix/dialogs/wallets.py

5
gui/kivy/uix/dialogs/wallets.py

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

Loading…
Cancel
Save