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

PR: Workaround a bug in QDoubleSpinBox when 'coma' is used as decimals and thousands separator #17

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

jnsebgosselin
Copy link
Owner

See https://bugreports.qt.io/browse/QTBUG-77939.

For example, when the same symbol is used as decimal and thousand separator, textFromValue returns 100000 for 1000.00 instead of 1000.

The idea here is to override the textFromValue of QDoubleSpinBox to implement a workaround.

@jnsebgosselin jnsebgosselin added the bug Something isn't working label Jun 25, 2024
@jnsebgosselin jnsebgosselin self-assigned this Jun 25, 2024
@jnsebgosselin jnsebgosselin added this to the 0.5.3 milestone Jun 25, 2024
@jnsebgosselin jnsebgosselin merged commit cf661fb into main Jun 25, 2024
1 check 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant