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:
parent
8dc89e787c
commit
30d409edc1
1 changed files with 1 additions and 0 deletions
|
@ -394,6 +394,7 @@ void SpriteFramesEditor::_animation_add() {
|
|||
edited_anim = name;
|
||||
|
||||
undo_redo->commit_action();
|
||||
animations->grab_focus();
|
||||
}
|
||||
void SpriteFramesEditor::_animation_remove() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue