summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-27 07:46:29 +0100
committerGitHub <noreply@github.com>2017-11-27 07:46:29 +0100
commit06bf5e71f6ec426ff93bcf4fb26fe48841f5d212 (patch)
tree97e51988819b1a2e0fab492244382c38876dc6fb
parent8dc89e787c8b2bc444010d67bcb47378add80061 (diff)
parent30d409edc19f372bf55b7ee47c9f65087f4d437d (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.cpp1
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() {