diff --git a/src/mainwindow.py b/src/mainwindow.py index b55fb60..a2074a4 100644 --- a/src/mainwindow.py +++ b/src/mainwindow.py @@ -271,8 +271,9 @@ def __init__(self, translator: QTranslator, parent: QObject): self.ui.comboBox_boxDisplayStyle.currentIndexChanged.connect( partial(self.globalSettingsChanged, "box_display_style") ) + box_display_style = fetch_data("scoresight.json", "box_display_style", 3) self.ui.comboBox_boxDisplayStyle.setCurrentIndex( - fetch_data("scoresight.json", "box_display_style", 3) + box_display_style if type(box_display_style) == int else 3 ) self.ui.checkBox_updateOnchange.toggled.connect(self.toggleUpdateOnChange)