electrum

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

commit 355f2e07d4657f13d9d3844a51196ffe16c9082e
parent 8e6e287802b078ad7afa87e5f96a23942f112023
Author: ThomasV <thomasv@electrum.org>
Date:   Tue,  5 Apr 2016 17:24:03 +0200

fix #1749

Diffstat:
Mgui/kivy/uix/screens.py | 3++-
Mgui/kivy/uix/ui_screens/history.kv | 3++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py @@ -164,7 +164,8 @@ class HistoryScreen(CScreen): ri.icon = icon ri.date = date_time ri.message = message - ri.value = value + ri.value = value if value is not None else 0 + ri.value_known = value is not None ri.quote_text = quote_text ri.confirmations = conf ri.tx_hash = tx diff --git a/gui/kivy/uix/ui_screens/history.kv b/gui/kivy/uix/ui_screens/history.kv @@ -20,7 +20,8 @@ icon: 'atlas://gui/kivy/theming/light/important' message: '' value: 0 - amount: app.format_amount(self.value, True) if self.value is not None else '--' + value_known: True + amount: app.format_amount(self.value, True) if self.value_known else '--' amount_color: '#FF6657' if self.value < 0 else '#2EA442' confirmations: 0 date: ''