commit 0db2dbf3d7ea1f0fa7ecaa17fa07914b2cc3ab83 parent 39615333c0f8ca3680c38396e94e6037a318f07b Author: Neil Booth <kyuupichan@gmail.com> Date: Sun, 6 Sep 2015 23:20:05 +0900 Extra headers only if used. Diffstat:
M | plugins/exchange_rate.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py @@ -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):