follow-up prev
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user