From faff2b6d5d25cabe4444320ee786ec21ef30ab68 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 1 Apr 2019 19:22:15 +0300 Subject: [PATCH] Change condition for successful result. --HG-- branch : feature --- src/app/valentina/mainwindowsnogui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }