From c67b1888b5ab6b01e8180a9c4ade4db3c58c49e7 Mon Sep 17 00:00:00 2001 From: MarianoGNU Date: Fri, 27 May 2016 22:53:26 -0300 Subject: [PATCH] Remove focus from Sprite Region Editor dialog. Fixes #4751 (cherry picked from commit e7b7dfefd39308083fa7329d8acde03b94df2c32) --- tools/editor/plugins/sprite_region_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/editor/plugins/sprite_region_editor_plugin.cpp b/tools/editor/plugins/sprite_region_editor_plugin.cpp index 8dfa8a60a6f..e7e193b0435 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) {