Fix TabContainer accessibility sub-element cleanup.
(cherry picked from commit b5b15f0f7485064c9f3a642d90de690522ec05cf)
This commit is contained in:
committed by
Thaddeus Crews
parent
ca7b12ff4b
commit
f887ee0430
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user