diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-06-06 23:32:27 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-06-06 23:32:27 +0200 |
commit | 31fb0eff62dd0b03123af446218af42c3027962a (patch) | |
tree | 206b78b39e6739e4a0fef38ef2d0052ac1492f0b /scene/gui | |
parent | 7fd6977ef9768a6f699ec0ee3f4ef46d152011bc (diff) | |
parent | a0eb297cfcc59bd9cf743250ddc9b21975f4fdaf (diff) |
Merge pull request #5072 from Paulb23/error_tab_index_issue_4997
Fix error tab index out of size print, issue 4997
Diffstat (limited to 'scene/gui')
-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 |