commit 475d642541618142bc6647ffc91b09d0ee6cd7da
parent c46357eeb3abc6d75283ce0cf4d8242321330c5c
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 6 Apr 2016 15:46:23 +0200
follow up 355f2e07d4657f13d9d3844a51196ffe16c9082e
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py
@@ -164,7 +164,7 @@ class HistoryScreen(CScreen):
ri.icon = icon
ri.date = date_time
ri.message = message
- ri.value = value if value is not None else 0
+ ri.value = value or 0
ri.value_known = value is not None
ri.quote_text = quote_text
ri.confirmations = conf