aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/tab_container.cpp
diff options
context:
space:
mode:
authorPaulb232016-06-06 19:50:54 +0100
committerPaulb232016-06-06 20:25:19 +0100
commita0eb297cfcc59bd9cf743250ddc9b21975f4fdaf (patch)
treead8376ddc1be98b88d05070494918221ef3d4845 /scene/gui/tab_container.cpp
parent955ed0a95f61e14e6c941540b11905a16fb40d00 (diff)
downloadgodot-a0eb297cfcc59bd9cf743250ddc9b21975f4fdaf.tar.gz
godot-a0eb297cfcc59bd9cf743250ddc9b21975f4fdaf.tar.zst
godot-a0eb297cfcc59bd9cf743250ddc9b21975f4fdaf.zip
Fix error tab index out of size print, issue 4997
Diffstat (limited to '')
-rw-r--r--scene/gui/tab_container.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp
index c8bd1cb5a..d19e5f0d6 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