diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index 6ea868cad..769a666ae 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -335,6 +335,7 @@ bool MainWindowsNoGUI::GenerateLayout(VLayoutGenerator& lGenerator) isAutoCrop = lGenerator.GetAutoCrop(); isUnitePages = lGenerator.IsUnitePages(); isLayoutStale = false; + papersCount = lGenerator.PapersCount(); hasResult = true; } }