Browse Source

Merge pull request #9378 from nunodonato/selectimport

Update import dock when editing a resource from the inspector
Rémi Verschelde 8 years ago
parent
commit
5590dd7fb4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -1623,6 +1623,7 @@ void EditorNode::_resource_selected(const RES &p_res, const String &p_property)
 		return;
 
 	RES r = p_res;
+	EditorNode::get_singleton()->get_import_dock()->set_edit_path(r->get_path());
 	push_item(r.operator->(), p_property);
 }