summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 24bfba3844..a23c0f7c06 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -2331,7 +2331,7 @@ void EditorNode::_edit_current(bool p_skip_foreign) {
}
bool inspector_only = editor_history.is_current_inspector_only();
- this->current = current_obj;
+ current = current_obj;
if (!current_obj) {
SceneTreeDock::get_singleton()->set_selected(nullptr);