electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f020125e74bcbea0e540a636bf697b9c3e6d98bc
parent 56579c282ed72a6c123fab82a015bdac5fb400c1
Author: ThomasV <thomasv@electrum.org>
Date:   Sat,  5 Dec 2020 19:48:10 +0100

kivy screens: initialize is_max (fix #6813)

Diffstat:
Melectrum/gui/kivy/uix/screens.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/gui/kivy/uix/screens.py b/electrum/gui/kivy/uix/screens.py @@ -181,6 +181,7 @@ class SendScreen(CScreen, Logger): def __init__(self, **kwargs): CScreen.__init__(self, **kwargs) Logger.__init__(self) + self.is_max = False def set_URI(self, text: str): if not self.app.wallet: @@ -436,6 +437,7 @@ class ReceiveScreen(CScreen): def __init__(self, **kwargs): super(ReceiveScreen, self).__init__(**kwargs) Clock.schedule_interval(lambda dt: self.update(), 5) + self.is_max = False # not used for receiving (see app.amount_dialog) def expiry(self): return self.app.electrum_config.get('request_expiry', PR_DEFAULT_EXPIRATION_WHEN_CREATING) @@ -443,7 +445,6 @@ class ReceiveScreen(CScreen): def clear(self): self.address = '' self.amount = '' - self.is_max = False # not used for receiving (see app.amount_dialog) self.message = '' self.lnaddr = ''