Extra headers only if used.

This commit is contained in:
Neil Booth 2015-09-06 23:20:05 +09:00
parent 39615333c0
commit 0db2dbf3d7
1 changed files with 2 additions and 1 deletions

View File

@ -401,7 +401,8 @@ class Plugin(BasePlugin, ThreadJob):
@hook
def history_tab_headers(self, headers):
headers.extend([_('Fiat Amount'), _('Fiat Balance')])
if self.config_history():
headers.extend([_('Fiat Amount'), _('Fiat Balance')])
@hook
def history_tab_update_begin(self):