diff options
author | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2016-05-28 04:40:27 +0200 |
---|---|---|
committer | Mariano Javier Suligoy <marianognu.easyrpg@gmail.com> | 2016-05-28 04:40:27 +0200 |
commit | b6fdac80cb0716f4c64aed9d0920159b50e2ed15 (patch) | |
tree | 56903f8fa0f68079540a0ba7586a3870ba4d05f4 /tools/editor/plugins | |
parent | bccdc11ddec9dc8690f2686c296eb81f424e56f9 (diff) | |
parent | e7b7dfefd39308083fa7329d8acde03b94df2c32 (diff) |
Merge pull request #4852 from MarianoGnu/master
Remove focus from Sprite Region Editor dialog. Fixes #4751
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r-- | tools/editor/plugins/sprite_region_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/sprite_region_editor_plugin.cpp b/tools/editor/plugins/sprite_region_editor_plugin.cpp index 50afa65263..802a12eedd 100644 --- a/tools/editor/plugins/sprite_region_editor_plugin.cpp +++ b/tools/editor/plugins/sprite_region_editor_plugin.cpp @@ -386,6 +386,7 @@ void SpriteRegionEditor::_edit_node() rect=node->get_region_rect(); dlg_editor->popup_centered_ratio(0.85); + dlg_editor->get_ok()->release_focus(); } inline float _snap_scalar(float p_offset, float p_step, float p_target) { |