Fix bug: printed duplicate pages when Single Page selected

https://bugs.launchpad.net/kicad/+bug/1523065
This commit is contained in:
Simon Wells 2016-05-30 11:25:40 -04:00 committed by Chris Pavlina
parent 7c1f5f617b
commit 457b021101
1 changed files with 3 additions and 0 deletions

View File

@ -299,6 +299,9 @@ int DIALOG_PRINT_USING_PRINTER::SetLayerSetFromListSelection()
else
s_Parameters.m_Flags = 1;
if( PrintUsingSinglePage() )
page_count = 1;
s_Parameters.m_PageCount = page_count;
return page_count;