diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp index a9c16a99424..19063c95055 100644 --- a/scene/gui/tab_bar.cpp +++ b/scene/gui/tab_bar.cpp @@ -770,11 +770,6 @@ bool TabBar::is_tab_hidden(int p_tab) const { void TabBar::set_tab_metadata(int p_tab, const Variant &p_metadata) { ERR_FAIL_INDEX(p_tab, tabs.size()); - - if (tabs[p_tab].metadata == p_metadata) { - return; - } - tabs.write[p_tab].metadata = p_metadata; }