diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp index 992b7273b0c..4aaacea8dc1 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 {