1
0
Fork 0

Update SpinBox arrows on constrain change

This commit is contained in:
kobewi 2025-09-23 15:09:07 +02:00
parent 3d91a48298
commit d8cd5f8a3c
1 changed files with 4 additions and 0 deletions

View File

@ -497,6 +497,10 @@ void SpinBox::_notification(int p_what) {
_update_buttons_state_for_current_value();
} break;
case NOTIFICATION_READY: {
connect(CoreStringName(changed), callable_mp(this, &SpinBox::_update_buttons_state_for_current_value));
} break;
case NOTIFICATION_VISIBILITY_CHANGED:
drag.allowed = false;
[[fallthrough]];