diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-27 07:46:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-27 07:46:29 +0100 |
commit | 06bf5e71f6ec426ff93bcf4fb26fe48841f5d212 (patch) | |
tree | 97e51988819b1a2e0fab492244382c38876dc6fb | |
parent | 8dc89e787c8b2bc444010d67bcb47378add80061 (diff) | |
parent | 30d409edc19f372bf55b7ee47c9f65087f4d437d (diff) |
Merge pull request #13330 from bncastle/sprite_frames_editor_allow_f2_on_new
Focus on sprite animation list after adding a new one to allow renaming with f2
-rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index b3bb103577..175655119f 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -394,6 +394,7 @@ void SpriteFramesEditor::_animation_add() { edited_anim = name; undo_redo->commit_action(); + animations->grab_focus(); } void SpriteFramesEditor::_animation_remove() { |