Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Commit

Permalink
fix minor bug in qt/history_list
Browse files Browse the repository at this point in the history
context menu could have duplicated entries
  • Loading branch information
SomberNight committed Feb 16, 2018
1 parent bd333f1 commit c3fd7db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gui/qt/history_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def refresh_headers(self):
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):
Expand Down

0 comments on commit c3fd7db

Please sign in to comment.