diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index 859488d49..e26087e0e 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -241,7 +241,10 @@ bool MainWindowsNoGUI::GenerateLayout(VLayoutGenerator& lGenerator) { if (timer.hasExpired(lGenerator.GetNestingTime() * 60000)) { - nestingState = LayoutErrors::Timeout; + if (nestingState != LayoutErrors::EmptyPaperError) + { + nestingState = LayoutErrors::Timeout; + } progress->Finished(); return true; }