electrum

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

commit c3fd7db3107cf0dc64c68b6a069fac4aec148db5
parent bd333f16e022ccab972b7cfc9121a2bff2dcb665
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri, 16 Feb 2018 15:20:12 +0100

fix minor bug in qt/history_list

context menu could have duplicated entries

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

diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py @@ -64,7 +64,9 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop): headers.extend(['%s '%fx.ccy + _('Value')]) headers.extend(['%s '%fx.ccy + _('Acquisition price')]) headers.extend(['%s '%fx.ccy + _('Capital Gains')]) - self.editable_columns.extend([6]) + fiat_value_column = 6 + if fiat_value_column not in self.editable_columns: + self.editable_columns.extend([fiat_value_column]) self.update_headers(headers) def get_domain(self):