浏览代码

Merge pull request #22287 from Chaosus/fix_warning

Fix "This control can't grab focus." warning spam
Rémi Verschelde 7 年之前
父节点
当前提交
f93a69cb6e
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      editor/plugins/spatial_editor_plugin.cpp

+ 0 - 1
editor/plugins/spatial_editor_plugin.cpp

@@ -5584,7 +5584,6 @@ void SpatialEditorPlugin::make_visible(bool p_visible) {
 
 		spatial_editor->show();
 		spatial_editor->set_process(true);
-		spatial_editor->grab_focus();
 
 	} else {