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 {