mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
wallet selector
This commit is contained in:
parent
f8ccf3cd37
commit
c803a8ecab
1 changed files with 20 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
#:import os os
|
||||||
|
|
||||||
|
|
||||||
<WalletSelector@BlueSpinner>
|
<WalletSelector@BlueSpinner>
|
||||||
|
@ -7,8 +8,25 @@
|
||||||
|
|
||||||
|
|
||||||
Popup:
|
Popup:
|
||||||
|
BoxLayout:
|
||||||
|
orientation: 'vertical'
|
||||||
|
GridLayout:
|
||||||
|
size_hint_y: None
|
||||||
|
cols: 2
|
||||||
Label:
|
Label:
|
||||||
text: _('Wallet')
|
height: '32dp'
|
||||||
|
size_hint_y: None
|
||||||
|
text: _('Wallet file') + ':'
|
||||||
|
TextInput:
|
||||||
|
id: text_input
|
||||||
|
height: '32dp'
|
||||||
|
size_hint_y: None
|
||||||
|
text: os.path.basename(app.wallet.storage.path)
|
||||||
|
|
||||||
|
FileChooserIconView:
|
||||||
|
id: wallet_selector
|
||||||
|
path: os.path.dirname(app.wallet.storage.path)
|
||||||
|
on_selection: text_input.text = os.path.basename(self.selection[0]) if self.selection else ''
|
||||||
|
|
||||||
#WalletSelector:
|
#WalletSelector:
|
||||||
# id: wallet_selection
|
# id: wallet_selection
|
||||||
|
|
Loading…
Add table
Reference in a new issue