You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
fixes: #70981
This commit is contained in:
@@ -993,6 +993,10 @@ void SceneTreeEditor::_renamed() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (new_name == n->get_name()) {
|
if (new_name == n->get_name()) {
|
||||||
|
if (which->get_text(0).is_empty()) {
|
||||||
|
which->set_text(0, new_name);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user