1
0
Fork 0

Merge pull request #110817 from KoBeWi/changes_spin_the_box

Update SpinBox arrows on constrain change
This commit is contained in:
Rémi Verschelde 2025-12-18 23:30:43 +01:00
commit b46988a142
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 4 additions and 0 deletions

View File

@ -510,6 +510,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]];