FIX: STUDIO-471
new or open project file is not allowed during the slicing process Change-Id: I2c42cd2e65d51e35c42e5079efe15b44eaf071aa
This commit is contained in:
parent
bfe46a67d5
commit
e8787a4c12
|
@ -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 == "<new>")
|
||||
plater()->new_project();
|
||||
else if (project_id.empty())
|
||||
|
|
Loading…
Reference in New Issue