mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-07-01 00:28:12 +02:00
Alert user about finished creating a layout.
--HG-- branch : develop
This commit is contained in:
parent
33087b2fe8
commit
1a0733ad00
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue