From 4cba3b39dbd856eb8818fd92af8ce621a4991742 Mon Sep 17 00:00:00 2001 From: Dave Palais Date: Tue, 2 Jul 2024 12:50:56 -0500 Subject: [PATCH] Replace deprecated set_auto_translate call with set_auto_translate_mode --- editor/limbo_ai_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/limbo_ai_editor_plugin.cpp b/editor/limbo_ai_editor_plugin.cpp index 980bd21..be868c6 100644 --- a/editor/limbo_ai_editor_plugin.cpp +++ b/editor/limbo_ai_editor_plugin.cpp @@ -1506,7 +1506,7 @@ LimboAIEditor::LimboAIEditor() { tab_bar->set_select_with_rmb(true); tab_bar->set_drag_to_rearrange_enabled(true); tab_bar->set_max_tab_width(int(EDITOR_GET("interface/scene_tabs/maximum_width")) * EDSCALE); - tab_bar->set_auto_translate(false); + tab_bar->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED); tab_bar->set_tab_close_display_policy(TabBar::CLOSE_BUTTON_SHOW_ACTIVE_ONLY); tab_bar->set_h_size_flags(Control::SIZE_EXPAND_FILL); tab_bar->set_focus_mode(FocusMode::FOCUS_NONE);