Commit 5a947e67 authored by unknown's avatar unknown Committed by jean-pierre charras

Fix bug: Dialog "Page settings" does not always detect page format. Formats A,...

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.
parent a4c59e6b
...@@ -725,9 +725,9 @@ void DIALOG_PAGES_SETTINGS::GetPageLayoutInfoFromDialog() ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment