summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-01 11:57:46 +0200
committerGitHub <noreply@github.com>2019-04-01 11:57:46 +0200
commit934714248480dfe5caa87404591ec81631936653 (patch)
tree7197e9267f44c50010c39f5efb490d9106a75bb1 /editor/plugins
parent9bef886fa3b48ff66b38c82e46bf37a02feb09d6 (diff)
parent138698e51fdb29b95eaf1f0a563758d46f57037b (diff)
Merge pull request #26701 from qarmin/do_not_lost_focus
Do not lose focus when moving through scene tree
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp
index ac05b03ed2..37ae2d146c 100644
--- a/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/editor/plugins/canvas_item_editor_plugin.cpp
@@ -4922,7 +4922,6 @@ void CanvasItemEditorPlugin::make_visible(bool p_visible) {
canvas_item_editor->show();
canvas_item_editor->set_physics_process(true);
VisualServer::get_singleton()->viewport_set_hide_canvas(editor->get_scene_root()->get_viewport_rid(), false);
- canvas_item_editor->viewport->grab_focus();
} else {