mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 06:03:38 +00:00
Fixed error: set_current_tab print on project open
This commit is contained in:
parent
367aabf030
commit
a3481ed1c7
@ -412,8 +412,9 @@ void TabContainer::_notification(int p_what) {
|
||||
|
||||
} break;
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
|
||||
call_deferred("set_current_tab",get_current_tab()); //wait until all changed theme
|
||||
if (get_tab_count() > 0) {
|
||||
call_deferred("set_current_tab",get_current_tab()); //wait until all changed theme
|
||||
}
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user