1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

General fixes for the AnimationTree editor

This commit is contained in:
Michael Alexsander Silva Dias
2018-12-17 21:03:25 -02:00
parent 0cff752be1
commit b86b497cec
7 changed files with 12 additions and 5 deletions

View File

@@ -668,7 +668,7 @@ void SceneTreeEditor::_renamed() {
// Empty node names are not allowed, so resets it to previous text and show warning
if (which->get_text(0).strip_edges().empty()) {
which->set_text(0, n->get_name());
EditorNode::get_singleton()->show_warning(TTR("No name provided"));
EditorNode::get_singleton()->show_warning(TTR("No name provided."));
return;
}