Fix bug: Dialog "Page settings" does not always detect page format. Formats A, B, C, D, E, Custom (User) are detected right but A0-A4, US* are wrong.
This commit is contained in:
parent
a4c59e6b97
commit
5a947e6759
|
@ -725,9 +725,9 @@ void DIALOG_PAGES_SETTINGS::GetPageLayoutInfoFromDialog()
|
||||||
|
|
||||||
for( i=0; i < DIM( papers ); ++i )
|
for( i=0; i < DIM( papers ); ++i )
|
||||||
{
|
{
|
||||||
if( paperType.Contains( *papers[i] ) )
|
if( paperType.Contains( papers[i] ) )
|
||||||
{
|
{
|
||||||
pageInfo.SetType( *papers[i] );
|
pageInfo.SetType( papers[i] );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue