Use QuasiModal in all parents of ConfigPaths so help window works.

This commit is contained in:
Jeff Young 2020-12-06 18:44:24 +00:00
parent b10aa230f7
commit 58afaeb9eb
2 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ bool S3D::Select3DModel( wxWindow* aParent, S3D_CACHE* aCache, wxString& prevMod
DLG_SELECT_3DMODEL dm( aParent, aCache, aModel, prevModelSelectDir, prevModelWildcard );
return dm.ShowModal() == wxID_OK;
// Use QuasiModal so that Configure3DPaths (and its help window) will work
return dm.ShowQuasiModal() == wxID_OK;
}

View File

@ -1538,7 +1538,8 @@ void PCB_EDIT_FRAME::ShowFootprintPropertiesDialog( FOOTPRINT* aFootprint )
DIALOG_FOOTPRINT_PROPERTIES* dlg = new DIALOG_FOOTPRINT_PROPERTIES( this, aFootprint );
int retvalue = dlg->ShowModal();
// Must be QuasiModal for Configure Paths > Help
int retvalue = dlg->ShowQuasiModal();
/*
* retvalue =
* FP_PROPS_UPDATE_FP to show Update Footprints dialog