diff options
| author | bncastle <bncastle@pixelbytestudios.com> | 2017-11-26 20:54:26 -0500 |
|---|---|---|
| committer | bncastle <bncastle@pixelbytestudios.com> | 2017-11-26 20:54:26 -0500 |
| commit | 30d409edc19f372bf55b7ee47c9f65087f4d437d (patch) | |
| tree | 97e51988819b1a2e0fab492244382c38876dc6fb | |
| parent | 8dc89e787c8b2bc444010d67bcb47378add80061 (diff) | |
| download | redot-engine-30d409edc19f372bf55b7ee47c9f65087f4d437d.tar.gz | |
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.
| -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() { |
