From 0ae400f523b0e4aefc9cdbea5195a54e6e8268df Mon Sep 17 00:00:00 2001 From: Nuno Donato Date: Thu, 12 Jul 2018 12:41:22 +0100 Subject: [PATCH] Open visual editor when "open editor" button in the inspector is pressed. Fixes #20111 --- editor/editor_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 064569dea02..c23f28aed49 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2000,7 +2000,7 @@ void EditorPropertyResource::_sub_inspector_object_id_selected(int p_id) { void EditorPropertyResource::_open_editor_pressed() { RES res = get_edited_object()->get(get_edited_property()); if (res.is_valid()) { - EditorNode::get_singleton()->edit_item(res.ptr()); + EditorNode::get_singleton()->edit_resource(res.ptr()); } }