Extra headers only if used.

This commit is contained in:
Neil Booth 2015-09-06 23:20:05 +09:00
parent 39615333c0
commit 0db2dbf3d7

View file

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