tfix #4037 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3be703ac0a613dd2ebaa51df977dfb5d79681055 DIR parent bb5e19549420cd7c2348b311cdbe153683e5ed18 HTML Author: SomberNight <somber.night@protonmail.com> Date: Tue, 6 Mar 2018 06:40:59 +0100 fix #4037 No history summary for wallet without any tx-history. Diffstat: M gui/qt/history_list.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py t@@ -161,6 +161,9 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): def show_summary(self): h = self.summary + if not h: + self.parent.show_message(_("Nothing to summarize.")) + return start_date = h.get('start_date') end_date = h.get('end_date') format_amount = lambda x: self.parent.format_amount(x.value) + ' ' + self.parent.base_unit()