Fix TabContainer accessibility sub-element cleanup.

(cherry picked from commit b5b15f0f7485064c9f3a642d90de690522ec05cf)
This commit is contained in:
Pāvels Nadtočajevs
2026-02-22 12:34:12 +02:00
committed by Thaddeus Crews
parent ca7b12ff4b
commit f887ee0430
+1
View File
@@ -173,6 +173,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;