From e8787a4c1270449c1c983904d4df6eb1bdbcd6cc Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Wed, 3 Aug 2022 14:47:59 +0800 Subject: [PATCH] FIX: STUDIO-471 new or open project file is not allowed during the slicing process Change-Id: I2c42cd2e65d51e35c42e5079efe15b44eaf071aa --- src/slic3r/GUI/GUI_App.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index f9632bee7..98500ee88 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -3038,6 +3038,11 @@ void GUI_App::request_project_download(std::string project_id) void GUI_App::request_open_project(std::string project_id) { + if (plater()->is_background_process_slicing()) { + Slic3r::GUI::show_info(nullptr, _L("new or open project file is not allowed during the slicing process!"), _L("Open Project")); + return; + } + if (project_id == "") plater()->new_project(); else if (project_id.empty())