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,6 +401,7 @@ class Plugin(BasePlugin, ThreadJob):
@hook
def history_tab_headers(self, headers):
if self.config_history():
headers.extend([_('Fiat Amount'), _('Fiat Balance')])
@hook