mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 23:53:15 +00:00
Fix error tab index out of size print, issue 4997
This commit is contained in:
parent
955ed0a95f
commit
a0eb297cfc
@ -411,7 +411,6 @@ void TabContainer::_notification(int p_what) {
|
||||
panel->draw(ci, Rect2( 0, top_size.height, size.width, size.height-top_size.height));
|
||||
|
||||
} break;
|
||||
case NOTIFICATION_READY:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
|
||||
call_deferred("set_current_tab",get_current_tab()); //wait until all changed theme
|
||||
|
Loading…
Reference in New Issue
Block a user