This commit is contained in:
Nong Van Tinh 2023-01-10 16:18:38 +07:00
parent 269fa200d0
commit 98ed75f9e0

View File

@ -993,6 +993,10 @@ void SceneTreeEditor::_renamed() {
}
if (new_name == n->get_name()) {
if (which->get_text(0).is_empty()) {
which->set_text(0, new_name);
}
return;
}