Fix TabContainer accessibility sub-element cleanup.

This commit is contained in:
Pāvels Nadtočajevs 2026-02-22 12:34:12 +02:00
parent 8120fb1242
commit b5b15f0f74
No known key found for this signature in database
GPG key ID: 8413210218EF35D2

View file

@ -84,6 +84,7 @@ bool TabContainer::_property_get_revert(const StringName &p_name, Variant &r_pro
void TabContainer::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_EXIT_TREE:
case NOTIFICATION_ACCESSIBILITY_INVALIDATE: {
tab_panels.clear();
} break;