Fix regression in dc18432015

Closes #9407.
This commit is contained in:
Rémi Verschelde 2017-06-27 00:57:18 +02:00
parent f28f2b6ce8
commit 90592ccf03
1 changed files with 1 additions and 1 deletions

View File

@ -1497,7 +1497,7 @@ void EditorNode::_edit_current() {
property_editor->edit(current_res);
node_dock->set_node(NULL);
object_menu->set_disabled(false);
EditorNode::get_singleton()->get_import_dock()->set_edit_path(r->get_path());
EditorNode::get_singleton()->get_import_dock()->set_edit_path(current_res->get_path());
//resources_dock->add_resource(Ref<Resource>(current_res));
//top_pallete->set_current_tab(1);