From a2dfebe6cc7f1d925ee81800cef5bb8fa79ef278 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 20 Jul 2019 22:03:43 +0300 Subject: [PATCH] Add missed value for comparison. --HG-- branch : develop --- src/app/valentina/mainwindowsnogui.cpp | 1 + 1 file changed, 1 insertion(+) 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; } }