diff options
author | Emmanuel Barroga <emmanuelbarroga@gmail.com> | 2019-10-21 16:42:17 -0700 |
---|---|---|
committer | Emmanuel Barroga <emmanuelbarroga@gmail.com> | 2019-10-21 16:42:17 -0700 |
commit | 53d6d37fcf719067129fd0c2957154ff6a058ba9 (patch) | |
tree | 7dd8e4d33aed2efd9486a0496d5bd790fd386ad3 /scene/main | |
parent | 3564547208030264a28cc55232992aab3cbdad94 (diff) |
Fixes spinbox not releasing focus on value change
Trying to release focus of the spinbox's lineedit would not work when done in the "value_changed" callback. The reason is because the "value_change" signal is called first, then the "get_focus" method is called next. This causes the spinbox to get_focus after you try to release focus within the "value_changed" callback.
To resolve this, spinbox should get focus first and then emit "value_changed".
Diffstat (limited to 'scene/main')
0 files changed, 0 insertions, 0 deletions