From 472a26e895432d15acd14c53cdbc96890d294366 Mon Sep 17 00:00:00 2001 From: kit Date: Tue, 18 Nov 2025 17:00:39 -0500 Subject: [PATCH] Fix disabled tabs in TabBar are selectable --- scene/gui/tab_bar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp index 34ff8aa40f2..a1c569cf31d 100644 --- a/scene/gui/tab_bar.cpp +++ b/scene/gui/tab_bar.cpp @@ -292,7 +292,7 @@ void TabBar::gui_input(const Ref &p_event) { } // Selecting a tab. - if (selecting) { + if (selecting && !tabs[found].disabled) { if (deselect_enabled && get_current_tab() == found) { set_current_tab(-1); } else {