summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorHakim <hakim.rouatbi@gmail.com>2023-05-18 22:10:52 +0200
committerHakim <hakim.rouatbi@gmail.com>2023-05-18 22:10:52 +0200
commitf2383b7c1931aa89b0aad7c1b401b0bd44b1489a (patch)
tree07d189bbfc98d661422140058d14c35d04fde852 /editor
parent5bb7d585a5e151f3fa387de7dd97d7aebc5abfd5 (diff)
downloadredot-engine-f2383b7c1931aa89b0aad7c1b401b0bd44b1489a.tar.gz
Do not translate node name when assigned to an exported field
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_properties.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp
index 04f10bceac..fffdec512c 100644
--- a/editor/editor_properties.cpp
+++ b/editor/editor_properties.cpp
@@ -3710,6 +3710,7 @@ EditorPropertyNodePath::EditorPropertyNodePath() {
assign->set_flat(true);
assign->set_h_size_flags(SIZE_EXPAND_FILL);
assign->set_clip_text(true);
+ assign->set_auto_translate(false);
assign->connect("pressed", callable_mp(this, &EditorPropertyNodePath::_node_assign));
SET_DRAG_FORWARDING_CD(assign, EditorPropertyNodePath);
hbc->add_child(assign);