Set default page size for tiled print. ref #570.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-10-08 13:18:21 +03:00
parent b6c7f6e76e
commit fce190db74

View File

@ -957,6 +957,10 @@ void MainWindowsNoGUI::SetPrinterSettings(QPrinter *printer, const PrintType &pr
printer->setPaperSize (pSZ);
}
}
else
{
printer->setPaperSize(QPrinter::A4);
}
printer->setFullPage(ignorePrinterFields);