diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index e26087e0e..31767670d 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -362,7 +362,7 @@ bool MainWindowsNoGUI::GenerateLayout(VLayoutGenerator& lGenerator) QApplication::alert(this); } - if (nestingState == LayoutErrors::NoError || (nestingState == LayoutErrors::Timeout && not papers.isEmpty())) + if (not papers.isEmpty() && nestingState != LayoutErrors::ProcessStoped) { return true; }