Don't hide EmptyPaperError by timeout to show real reason.
--HG-- branch : feature
This commit is contained in:
parent
406108107d
commit
f407e969f4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user