tfix minor bug in qt/history_list - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit c3fd7db3107cf0dc64c68b6a069fac4aec148db5 (DIR) parent bd333f16e022ccab972b7cfc9121a2bff2dcb665 (HTM) 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: M gui/qt/history_list.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- (DIR) diff --git a/gui/qt/history_list.py b/gui/qt/history_list.py t@@ -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):