diff options
author | Nuno Donato <nunodonato@gmail.com> | 2017-06-25 23:12:34 +0100 |
---|---|---|
committer | Nuno Donato <nunodonato@gmail.com> | 2017-06-25 23:12:34 +0100 |
commit | 41029c71d29580cb69e16b88dff72e9c1c322331 (patch) | |
tree | 62da7ba7b56f7bf61feaa5d6f89de7e904d9ccc0 | |
parent | 760cdbe1a31837bcb142de6912718fd80f57346b (diff) |
Update import dock when editing a resource from the inspector
-rw-r--r-- | editor/editor_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 8657deef03..117f183322 100644 --- a/editor/editor_node.cpp +++ b/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); } |