Tweak valid versions to load config from

pyqt6
Mark Jessop 2022-03-06 15:58:39 +10:30
rodzic 252287f54d
commit 37f55aed23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -72,7 +72,7 @@ def read_config(widgets):
""" Read in configuration settings from Qt """
global qt_settings, default_config
OK_VERSIONS = [__version__, '0.3.1', '0.2.1']
OK_VERSIONS = [__version__, '0.3.4', '0.3.1', '0.2.1']
# Try and read in the version parameter from QSettings
if qt_settings.value("version") not in OK_VERSIONS: