Alert user about finished creating a layout.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-12-03 10:56:19 +02:00
parent 33087b2fe8
commit 1a0733ad00

View File

@ -134,10 +134,18 @@ bool MainWindowsNoGUI::LayoutSettings(VLayoutGenerator& lGenerator)
margins = lGenerator.GetFields();
paperSize = QSizeF(lGenerator.GetPaperWidth(), lGenerator.GetPaperHeight());
isLayoutStale = false;
if (VApplication::CheckGUI())
{
QApplication::alert(this);
}
break;
case LayoutErrors::ProcessStoped:
case LayoutErrors::PrepareLayoutError:
case LayoutErrors::EmptyPaperError:
if (VApplication::CheckGUI())
{
QApplication::alert(this);
}
return false;
default:
break;