Merge pull request #5234 from Paulb23/fix_error_tab_print
Fixed error: set_current_tab print on project open
This commit is contained in:
commit
360cebaf23
@ -412,8 +412,9 @@ void TabContainer::_notification(int p_what) {
|
|||||||
|
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_THEME_CHANGED: {
|
case NOTIFICATION_THEME_CHANGED: {
|
||||||
|
if (get_tab_count() > 0) {
|
||||||
call_deferred("set_current_tab",get_current_tab()); //wait until all changed theme
|
call_deferred("set_current_tab",get_current_tab()); //wait until all changed theme
|
||||||
|
}
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user