mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX: STUDIO-471
new or open project file is not allowed during the slicing process Change-Id: I2c42cd2e65d51e35c42e5079efe15b44eaf071aa
This commit is contained in:
@@ -3038,6 +3038,11 @@ void GUI_App::request_project_download(std::string project_id)
|
|||||||
|
|
||||||
void GUI_App::request_open_project(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 == "<new>")
|
if (project_id == "<new>")
|
||||||
plater()->new_project();
|
plater()->new_project();
|
||||||
else if (project_id.empty())
|
else if (project_id.empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user