fixed crash on make resources unique menu option, fixes #1874

This commit is contained in:
Juan Linietsky 2015-05-11 21:23:29 -03:00
parent b777bf5ff5
commit bc0ef64bed
1 changed files with 1 additions and 1 deletions

View File

@ -2122,7 +2122,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
}
editor_data.get_undo_redo().clear_history();
if (editor_plugin_screen) { //reload editor plugin
if (editor_plugin_over) { //reload editor plugin
editor_plugin_over->edit(NULL);
editor_plugin_over->edit(current);
}