Merge pull request #5072 from Paulb23/error_tab_index_issue_4997

Fix error tab index out of size print, issue 4997
This commit is contained in:
Rémi Verschelde 2016-06-06 23:32:27 +02:00
commit 31fb0eff62

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