Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Update eventFilter in MainWindow to set default box display…
… style This commit updates the eventFilter method in the MainWindow class to set the default box display style. The previous implementation used the fetch_data function to retrieve the box display style from the "scoresight.json" file, but it did not handle cases where the retrieved value was not an integer. This commit introduces a check to ensure that the retrieved value is an integer and sets it as the current index of the comboBox_boxDisplayStyle. If the retrieved value is not an integer, the default index of 3 is used instead.
- Loading branch information