Fix TabContainer accessibility sub-element cleanup.
This commit is contained in:
parent
8120fb1242
commit
b5b15f0f74
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue