Don't traslate preview in node batch rename dialog

This commit is contained in:
Haoyu Qiu 2024-05-21 15:55:06 +08:00
parent 40b4130c93
commit 09feef3572

View File

@ -289,6 +289,7 @@ RenameDialog::RenameDialog(SceneTreeEditor *p_scene_tree_editor) {
vbc->add_child(lbl_preview_title);
lbl_preview = memnew(Label);
lbl_preview->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
lbl_preview->set_autowrap_mode(TextServer::AUTOWRAP_WORD_SMART);
vbc->add_child(lbl_preview);