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();
|
margins = lGenerator.GetFields();
|
||||||
paperSize = QSizeF(lGenerator.GetPaperWidth(), lGenerator.GetPaperHeight());
|
paperSize = QSizeF(lGenerator.GetPaperWidth(), lGenerator.GetPaperHeight());
|
||||||
isLayoutStale = false;
|
isLayoutStale = false;
|
||||||
|
if (VApplication::CheckGUI())
|
||||||
|
{
|
||||||
|
QApplication::alert(this);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case LayoutErrors::ProcessStoped:
|
case LayoutErrors::ProcessStoped:
|
||||||
case LayoutErrors::PrepareLayoutError:
|
case LayoutErrors::PrepareLayoutError:
|
||||||
case LayoutErrors::EmptyPaperError:
|
case LayoutErrors::EmptyPaperError:
|
||||||
|
if (VApplication::CheckGUI())
|
||||||
|
{
|
||||||
|
QApplication::alert(this);
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user