diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2018-07-16 15:42:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 15:42:57 +0200 |
commit | 103524e6b758bed2629ddd83c15820a92d03614e (patch) | |
tree | 3dc9776fc54cbe0e459fa6b4281629068df8fad3 /editor | |
parent | a21aeec4b971007a1930730b5d0490ffcf8a725c (diff) | |
parent | 0ae400f523b0e4aefc9cdbea5195a54e6e8268df (diff) |
Merge pull request #20112 from nunodonato/openvisualeditorbutton
Open visual editor when "open editor" button in the inspector is pressed
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index fefadde64e..1f45902008 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2004,7 +2004,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()); } } |