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

fix options combobox behavior #918

Conversation

lambdcalculus
Copy link
Contributor

Options dialog was saving the combobox's text, instead of its data, to the config, which was a problem for the scaling settings. This fixes that, and removes the need for the case-sensitive check (which could fail in some localizations, since the "Smooth" and "Pixel" strings are translatable).

Changed some occurrences of QComboBox::addItem so that the data saved to the config is the same as the text. Think I covered everything, but lmk if I missed something.

the combobox text, instead of data, was being saved to config
@stonedDiscord stonedDiscord merged commit 98682ae into AttorneyOnline:fix-option-scaling Aug 21, 2023
This was referenced Aug 21, 2023
@lambdcalculus lambdcalculus deleted the fix-option-scaling branch July 5, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants