Browse Source

Fix error tab index out of size print, issue 4997

Paulb23 9 years ago
parent
commit
a0eb297cfc
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scene/gui/tab_container.cpp

+ 0 - 1
scene/gui/tab_container.cpp

@@ -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));
 			panel->draw(ci, Rect2( 0, top_size.height, size.width, size.height-top_size.height));
 
 
 		} break;
 		} break;
-		case NOTIFICATION_READY:
 		case NOTIFICATION_THEME_CHANGED: {
 		case NOTIFICATION_THEME_CHANGED: {
 
 
 			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