commit 58a0a9b160e811ff4b1c19c05683cb4c03287977
parent eb28f570515fb096540b89edebaa6e12d3e65c4a
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 16 Feb 2020 23:48:23 +0100
kivy send screen: always show field separators. fix on_clear.
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py
@@ -261,7 +261,8 @@ class SendScreen(CScreen):
self.screen.message = ''
self.screen.address = ''
self.payment_request = None
- self.screen.locked = False
+ self.screen.is_lightning = False
+ self.screen.is_bip70 = False
self.parsed_URI = None
def set_request(self, pr: 'PaymentRequest'):
diff --git a/electrum/gui/kivy/uix/ui_screens/send.kv b/electrum/gui/kivy/uix/ui_screens/send.kv
@@ -95,7 +95,6 @@ SendScreen:
on_release: Clock.schedule_once(lambda dt: app.show_info(_('Copy and paste the recipient address using the Paste button, or use the camera to scan a QR code.')))
#on_release: Clock.schedule_once(lambda dt: app.popup_dialog('contacts'))
CardSeparator:
- opacity: int(not root.is_locked)
color: blue_bottom.foreground_color
BoxLayout:
size_hint: 1, None
@@ -114,7 +113,6 @@ SendScreen:
disabled: root.is_bip70 or (root.is_lightning and not s.amount)
on_release: Clock.schedule_once(lambda dt: app.amount_dialog(s, True))
CardSeparator:
- opacity: int(not root.is_locked)
color: blue_bottom.foreground_color
BoxLayout:
id: message_selection
@@ -132,7 +130,6 @@ SendScreen:
disabled: root.is_locked
on_release: Clock.schedule_once(lambda dt: app.description_dialog(s))
CardSeparator:
- opacity: int(not root.is_locked)
color: blue_bottom.foreground_color
BoxLayout:
size_hint: 1, None