1
0

config: force 'history_rates' config var to bool

fixes https://github.com/spesmilo/electrum/issues/8367

probably regression from 503776c0de
(note that before that commit, we were casting to bool)
This commit is contained in:
SomberNight
2023-05-03 12:18:34 +00:00
parent 1a889d19b5
commit 3bdda3a861
5 changed files with 8 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ class QEFX(QObject, QtEventListener):
historicRatesChanged = pyqtSignal()
@pyqtProperty(bool, notify=historicRatesChanged)
def historicRates(self):
return self.fx.config.get('history_rates', True)
return bool(self.fx.config.get('history_rates', True))
@historicRates.setter
def historicRates(self, checked):