diff options
| author | MarianoGNU | 2016-05-27 22:53:26 -0300 |
|---|---|---|
| committer | MarianoGNU | 2016-05-27 22:53:26 -0300 |
| commit | e7b7dfefd39308083fa7329d8acde03b94df2c32 (patch) | |
| tree | a9be563bdf2074cea485ad18f38e694d77b550cb /tools/editor/plugins/sprite_region_editor_plugin.cpp | |
| parent | b0a97579ac8da127a1a0fe370dd4fb6a473a83b2 (diff) | |
| download | godot-e7b7dfefd39308083fa7329d8acde03b94df2c32.tar.gz godot-e7b7dfefd39308083fa7329d8acde03b94df2c32.tar.zst godot-e7b7dfefd39308083fa7329d8acde03b94df2c32.zip | |
Remove focus from Sprite Region Editor dialog. Fixes #4751
Diffstat (limited to 'tools/editor/plugins/sprite_region_editor_plugin.cpp')
| -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 50afa6526..802a12eed 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) { |
