mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix kivy addresses search
This commit is contained in:
parent
a87f3fe887
commit
b7f7da6cde
1 changed files with 7 additions and 3 deletions
|
@ -39,7 +39,7 @@ Builder.load_string('''
|
|||
show_change: 0
|
||||
show_used: 0
|
||||
on_message:
|
||||
self.parent.update()
|
||||
self.update()
|
||||
BoxLayout:
|
||||
id:box
|
||||
padding: '12dp', '70dp', '12dp', '12dp'
|
||||
|
@ -83,7 +83,7 @@ Builder.load_string('''
|
|||
AddressButton:
|
||||
id: change
|
||||
text: root.message if root.message else _('Search')
|
||||
on_release: Clock.schedule_once(lambda dt: app.description_dialog(addr_screen))
|
||||
on_release: Clock.schedule_once(lambda dt: app.description_dialog(popup))
|
||||
ScrollView:
|
||||
GridLayout:
|
||||
cols: 1
|
||||
|
@ -97,6 +97,10 @@ from electrum_gui.kivy.i18n import _
|
|||
from electrum_gui.kivy.uix.context_menu import ContextMenu
|
||||
|
||||
|
||||
class EmptyLabel(Factory.Label):
|
||||
pass
|
||||
|
||||
|
||||
class AddressesDialog(Factory.Popup):
|
||||
|
||||
def __init__(self, app, screen, callback):
|
||||
|
@ -134,7 +138,7 @@ class AddressesDialog(Factory.Popup):
|
|||
_list = wallet.get_change_addresses()
|
||||
else:
|
||||
_list = wallet.get_addresses()
|
||||
search = self.screen.message
|
||||
search = self.message
|
||||
container = self.ids.search_container
|
||||
container.clear_widgets()
|
||||
n = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue