Browse Source

fix kivy addresses search

3.2.x
SomberNight 7 years ago
parent
commit
b7f7da6cde
  1. 10
      gui/kivy/uix/dialogs/addresses.py

10
gui/kivy/uix/dialogs/addresses.py

@ -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…
Cancel
Save