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 23d5704048..a51717bedd 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -2335,7 +2335,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);