Browse Source

Undo an accidental revert.

Sorry for the history pollution. I was testing something on this branch
and forgot to reset befor pushing the security update.

This reverts commit 2ef66def4615594b87340aed2b02adf2204c74c2.
Hein-Pieter van Braam 7 years ago
parent
commit
5c88bc66e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_properties.cpp

+ 1 - 1
editor/editor_properties.cpp

@@ -2173,7 +2173,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());
 	}
 }