1
0

follow-up prev

This commit is contained in:
SomberNight
2019-03-22 18:52:57 +01:00
parent d79992b125
commit 6311aa24a8
2 changed files with 16 additions and 10 deletions

View File

@@ -513,8 +513,8 @@ class FxThread(ThreadJob):
self.config.set_key('use_exchange_rate', bool(b))
self.trigger_update()
def get_history_config(self):
return bool(self.config.get('history_rates'))
def get_history_config(self, *, default=False):
return bool(self.config.get('history_rates', default))
def set_history_config(self, b):
self.config.set_key('history_rates', bool(b))