Fix error tab index out of size print, issue 4997

This commit is contained in:
Paulb23 2016-06-06 19:50:54 +01:00
parent 955ed0a95f
commit a0eb297cfc

View File

@ -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