浏览代码

Fix error tab index out of size print, issue 4997

Paulb23 9 年之前
父节点
当前提交
a0eb297cfc
共有 1 个文件被更改,包括 0 次插入1 次删除
  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));
 
 		} break;
-		case NOTIFICATION_READY:
 		case NOTIFICATION_THEME_CHANGED: {
 
 			call_deferred("set_current_tab",get_current_tab()); //wait until all changed theme