-
Notifications
You must be signed in to change notification settings - Fork 560
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
BUG: Fix editing of transform component values in spinbox #7942
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Contains a single additional commit: Revision: 76e21221f81a4483d58f99a4d63d76f13718fb57 Author: Andras Lasso <[email protected]> Date: 2024-09-18 10:50:22 AM Message: ENH: Add method to check if double-spinbox value is being edited (Slicer#1219)
In Transforms module, when rotate-first mode was enabled and edited translation components and the number of digits changed, the value that was being edited was reset. The problem was that when number of digits change then sibling widgets get a notification and they update their number of digits, too, which results in value change, which leads to resetting of all values (including the one that is being edited). Fixed by preventing resetting of the slider+spinbox for the axis that is being edited using the spinbox. fixes Slicer#7574
3e59d26
to
71abfd4
Compare
For future reference, see commontk/CTK@627842c...76e2122 |
I am building & testing locally ⏳ |
Local testing was ✅ Improvement of In the meantime, I will bypass the check and move forward with the integration 🚀 |
In Transforms module, when rotate-first mode was enabled and edited translation components and the number of digits changed, the value that was being edited was reset. The problem was that when number of digits change then sibling widgets get a notification and they update their number of digits, too, which results in value change, which leads to resetting of all values (including the one that is being edited). Fixed by preventing resetting of the slider+spinbox for the axis that is being edited using the spinbox.
fixes #7574
Draft pull request because it requires merging of commontk/CTK#1219required CTK update was merged and git hash is updated in this pull request