DIALOG_COPPER_ZONE: fix bug that prevent to convert a zone filled by segments to a zone filled by solid polygons

This commit is contained in:
jean-pierre charras 2019-04-05 10:00:01 +02:00
parent e07ef3be9c
commit cc6f1d784d
1 changed files with 3 additions and 1 deletions

View File

@ -244,7 +244,9 @@ bool DIALOG_COPPER_ZONE::AcceptOptions( bool aUseExportableSetupOnly )
wxYES_NO | wxICON_WARNING );
dlg.DoNotShowCheckbox( __FILE__, __LINE__ );
if( dlg.ShowModal() == wxYES )
int ret = dlg.ShowModal();
if( ret == wxID_OK || ret == wxID_YES )
m_settings.m_FillMode = ZFM_POLYGONS;
}