Fix bug: printed duplicate pages when Single Page selected
https://bugs.launchpad.net/kicad/+bug/1523065
This commit is contained in:
parent
7c1f5f617b
commit
457b021101
|
@ -299,6 +299,9 @@ int DIALOG_PRINT_USING_PRINTER::SetLayerSetFromListSelection()
|
||||||
else
|
else
|
||||||
s_Parameters.m_Flags = 1;
|
s_Parameters.m_Flags = 1;
|
||||||
|
|
||||||
|
if( PrintUsingSinglePage() )
|
||||||
|
page_count = 1;
|
||||||
|
|
||||||
s_Parameters.m_PageCount = page_count;
|
s_Parameters.m_PageCount = page_count;
|
||||||
|
|
||||||
return page_count;
|
return page_count;
|
||||||
|
|
Loading…
Reference in New Issue