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() {