summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-06-26 22:34:37 +0200
committerGitHub <noreply@github.com>2017-06-26 22:34:37 +0200
commit5590dd7fb4e573f355b5484be16d8bf0c08b061c (patch)
treef00a85cf1e06a57d89b1d883cc68c9bcedb604c9
parent0db10b99928da024d8aa16dc72993d7229686913 (diff)
parent41029c71d29580cb69e16b88dff72e9c1c322331 (diff)
Merge pull request #9378 from nunodonato/selectimport
Update import dock when editing a resource from the inspector
-rw-r--r--editor/editor_node.cpp1
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);
}