From 085ec68dfe04f72e621e3ac3ac34602bba5e8620 Mon Sep 17 00:00:00 2001 From: Nathan Franke Date: Thu, 26 May 2022 04:58:25 -0500 Subject: repaint tab container when changing tab visibility --- scene/gui/tab_container.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui') diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index 8299d73b68..fa929344d4 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -727,6 +727,7 @@ void TabContainer::set_tab_hidden(int p_tab, bool p_hidden) { if (!get_clip_tabs()) { update_minimum_size(); } + call_deferred(SNAME("_repaint")); } bool TabContainer::is_tab_hidden(int p_tab) const { -- cgit v1.2.3