Change condition for successful result.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2019-04-01 19:22:15 +03:00
parent f407e969f4
commit faff2b6d5d

View File

@ -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;
}