diff options
author | Nuno Donato <nunodonato@gmail.com> | 2018-07-12 12:41:22 +0100 |
---|---|---|
committer | Nuno Donato <nunodonato@gmail.com> | 2018-07-12 12:41:22 +0100 |
commit | 0ae400f523b0e4aefc9cdbea5195a54e6e8268df (patch) | |
tree | 48694ad6bece1500c4492f7ecc8cca5db1a55426 /editor | |
parent | d488c35efabee9d9317a91cdb905a460e7fce0af (diff) |
Open visual editor when "open editor" button in the inspector is pressed.
Fixes #20111
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 064569dea0..c23f28aed4 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()); } } |