diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 34230b857dd..58b57b085d8 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -12128,7 +12128,7 @@ void Plater::import_model_id(wxString download_info) /* load project */ // Orca: If download is a zip file, treat it as if file has been drag and dropped on the plater if (target_path.extension() == ".zip") - this->load_files(wxArrayString(1, wxString(target_path.string()))); + { wxString s(target_path.string()); this->load_files(wxArrayString(1, &s)); } else this->load_project(target_path.wstring()); /*BBS set project info after load project, project info is reset in load project */