From a0eb297cfcc59bd9cf743250ddc9b21975f4fdaf Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Mon, 6 Jun 2016 19:50:54 +0100 Subject: Fix error tab index out of size print, issue 4997 --- scene/gui/tab_container.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index c8bd1cb5a1..d19e5f0d60 100644 --- a/scene/gui/tab_container.cpp +++ b/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 -- cgit v1.2.3