Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI: handle empty settings file #129

Merged
merged 1 commit into from
Sep 9, 2024
Merged

GUI: handle empty settings file #129

merged 1 commit into from
Sep 9, 2024

Conversation

eneelo
Copy link
Collaborator

@eneelo eneelo commented Sep 9, 2024

Fix rare error where qats GUI fails to open because settings file exists but is empty for any reason (does not even contain an empty json string).

Fixes #128

@eneelo eneelo added bug Something isn't working gui Issue is related to GUI labels Sep 9, 2024
@eneelo eneelo self-assigned this Sep 9, 2024
Copy link

sonarcloud bot commented Sep 9, 2024

@eneelo eneelo requested a review from tovop September 9, 2024 12:54
@eneelo
Copy link
Collaborator Author

eneelo commented Sep 9, 2024

@tovop Quick fix of what appears to be a rare event. Ready for review.

Copy link
Collaborator

@tovop tovop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That solves the problem.

@tovop tovop merged commit ef64035 into master Sep 9, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gui Issue is related to GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

qats.settings file giving strange error when empty
2 participants