Merge pull request #89978 from zaevi/editor/disable_asset_title_autotr
Editor: Disable auto-translation of titles in `AssetLib`.
This commit is contained in:
commit
8c935c8410
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ EditorAssetLibraryItem::EditorAssetLibraryItem(bool p_clickable) {
|
||||||
vb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
vb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
|
|
||||||
title = memnew(LinkButton);
|
title = memnew(LinkButton);
|
||||||
|
title->set_auto_translate_mode(AutoTranslateMode::AUTO_TRANSLATE_MODE_DISABLED);
|
||||||
title->set_underline_mode(LinkButton::UNDERLINE_MODE_ON_HOVER);
|
title->set_underline_mode(LinkButton::UNDERLINE_MODE_ON_HOVER);
|
||||||
vb->add_child(title);
|
vb->add_child(title);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue