diff options
author | Paulb23 <p_batty@hotmail.co.uk> | 2016-06-06 19:50:54 +0100 |
---|---|---|
committer | Paulb23 <p_batty@hotmail.co.uk> | 2016-06-06 20:25:19 +0100 |
commit | a0eb297cfcc59bd9cf743250ddc9b21975f4fdaf (patch) | |
tree | ad8376ddc1be98b88d05070494918221ef3d4845 | |
parent | 955ed0a95f61e14e6c941540b11905a16fb40d00 (diff) |
Fix error tab index out of size print, issue 4997
-rw-r--r-- | scene/gui/tab_container.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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 |