Przeglądaj źródła

Merge pull request #4852 from MarianoGnu/master

Remove focus from Sprite Region Editor dialog. Fixes #4751
Mariano Javier Suligoy 9 lat temu
rodzic
commit
b6fdac80cb

+ 1 - 0
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) {