Fix spinbox decimal issues when update_on_text_changed = true

This commit is contained in:
Robert Yevdokimov 2024-12-20 18:50:36 -05:00
parent b15b24b087
commit d8318deb0a
2 changed files with 33 additions and 4 deletions

View file

@ -40,6 +40,7 @@ class SpinBox : public Range {
LineEdit *line_edit = nullptr;
bool update_on_text_changed = false;
bool accepted = true;
struct SizingCache {
int buttons_block_width = 0;