electrum

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

commit 7f162733e0c63667f2336918afb31ddf57032351
parent 2d29c9313feeb6823d361700ee25eb03e8fb1a1a
Author: SomberNight <somber.night@protonmail.com>
Date:   Sat, 30 Jun 2018 19:20:16 +0200

fix #4037 (new issue but was merged into that)

Diffstat:
Mgui/qt/history_list.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py @@ -174,13 +174,13 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): grid = QGridLayout() grid.addWidget(QLabel(_("Start")), 0, 0) grid.addWidget(QLabel(self.format_date(start_date)), 0, 1) - grid.addWidget(QLabel(str(h['start_fiat_value']) + '/BTC'), 0, 2) + grid.addWidget(QLabel(str(h.get('start_fiat_value')) + '/BTC'), 0, 2) grid.addWidget(QLabel(_("Initial balance")), 1, 0) grid.addWidget(QLabel(format_amount(h['start_balance'])), 1, 1) grid.addWidget(QLabel(str(h.get('start_fiat_balance'))), 1, 2) grid.addWidget(QLabel(_("End")), 2, 0) grid.addWidget(QLabel(self.format_date(end_date)), 2, 1) - grid.addWidget(QLabel(str(h['end_fiat_value']) + '/BTC'), 2, 2) + grid.addWidget(QLabel(str(h.get('end_fiat_value')) + '/BTC'), 2, 2) grid.addWidget(QLabel(_("Final balance")), 4, 0) grid.addWidget(QLabel(format_amount(h['end_balance'])), 4, 1) grid.addWidget(QLabel(str(h.get('end_fiat_balance'))), 4, 2)