electrum

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

commit 199199421da0a47d187521cbded95a5985596193
parent 46f1fca7c3c1b2c35a589a48ae45cb1114ad28b5
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue, 26 Mar 2019 20:42:24 +0100

follow-up prev

Diffstat:
Melectrum/gui/qt/history_list.py | 20++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/electrum/gui/qt/history_list.py b/electrum/gui/qt/history_list.py @@ -482,26 +482,26 @@ class HistoryList(MyTreeView, AcceptFileDragDrop): grid = QGridLayout() grid.addWidget(QLabel(_("Start")), 0, 0) grid.addWidget(QLabel(self.format_date(start_date)), 0, 1) - grid.addWidget(QLabel(str(h.get('start_fiat_value')) + '/BTC'), 0, 2) + grid.addWidget(QLabel(str(h.get('fiat_start_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(str(h.get('fiat_start_balance'))), 1, 2) grid.addWidget(QLabel(_("End")), 2, 0) grid.addWidget(QLabel(self.format_date(end_date)), 2, 1) - grid.addWidget(QLabel(str(h.get('end_fiat_value')) + '/BTC'), 2, 2) + grid.addWidget(QLabel(str(h.get('fiat_end_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) + grid.addWidget(QLabel(str(h.get('fiat_end_balance'))), 4, 2) grid.addWidget(QLabel(_("Income")), 5, 0) - grid.addWidget(QLabel(format_amount(h.get('income'))), 5, 1) - grid.addWidget(QLabel(str(h.get('fiat_income'))), 5, 2) + grid.addWidget(QLabel(format_amount(h.get('incoming'))), 5, 1) + grid.addWidget(QLabel(str(h.get('fiat_incoming'))), 5, 2) grid.addWidget(QLabel(_("Expenditures")), 6, 0) - grid.addWidget(QLabel(format_amount(h.get('expenditures'))), 6, 1) - grid.addWidget(QLabel(str(h.get('fiat_expenditures'))), 6, 2) + grid.addWidget(QLabel(format_amount(h.get('outgoing'))), 6, 1) + grid.addWidget(QLabel(str(h.get('fiat_outgoing'))), 6, 2) grid.addWidget(QLabel(_("Capital gains")), 7, 0) - grid.addWidget(QLabel(str(h.get('capital_gains'))), 7, 2) + grid.addWidget(QLabel(str(h.get('fiat_capital_gains'))), 7, 2) grid.addWidget(QLabel(_("Unrealized gains")), 8, 0) - grid.addWidget(QLabel(str(h.get('unrealized_gains', ''))), 8, 2) + grid.addWidget(QLabel(str(h.get('fiat_unrealized_gains', ''))), 8, 2) vbox.addLayout(grid) vbox.addLayout(Buttons(CloseButton(d))) d.setLayout(vbox)