summaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-03-06 12:10:09 +0100
committerqarmin <mikrutrafal54@gmail.com>2019-03-06 12:10:09 +0100
commit138698e51fdb29b95eaf1f0a563758d46f57037b (patch)
tree8f3a9c85f4b5d360bd0a95b0ebe39b2b77d0a274 /editor/plugins/canvas_item_editor_plugin.cpp
parent2940475c716eab517ca52957acc8714f195d32cb (diff)
Do not lose focus when moving through scene tree
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-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 {