1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Focus on sprite animation list after adding a new one to allow renaming with f2

After adding a new sprite animation, focus on the sprite animation list
to allow renaming the animation with f2 instead of having to click on
the sprite name again.
This commit is contained in:
bncastle
2017-11-26 20:54:26 -05:00
parent 8dc89e787c
commit 30d409edc1

View File

@@ -394,6 +394,7 @@ void SpriteFramesEditor::_animation_add() {
edited_anim = name;
undo_redo->commit_action();
animations->grab_focus();
}
void SpriteFramesEditor::_animation_remove() {