summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:35:47 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:35:47 +0200
commit8c935c8410581f349a8d2dbcedb655914fdc901e (patch)
tree00c028e6442edb01aeb1a654bedc953ff0e19f0f /editor
parentb345614adb7cb17aa3b9ee2cd17b413a54fa40b7 (diff)
parent361f693adcd694379ae92b57deb84a18ff0e53ad (diff)
downloadredot-engine-8c935c8410581f349a8d2dbcedb655914fdc901e.tar.gz
Merge pull request #89978 from zaevi/editor/disable_asset_title_autotr
Editor: Disable auto-translation of titles in `AssetLib`.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index 184241e6db..559befe5a4 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -144,6 +144,7 @@ EditorAssetLibraryItem::EditorAssetLibraryItem(bool p_clickable) {
vb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
title = memnew(LinkButton);
+ title->set_auto_translate_mode(AutoTranslateMode::AUTO_TRANSLATE_MODE_DISABLED);
title->set_underline_mode(LinkButton::UNDERLINE_MODE_ON_HOVER);
vb->add_child(title);