Fix incorrect use of ShowQuasiModal instead of ShowModal.

Fixes #6653
https://gitlab.com/kicad/code/kicad/issues/6653
This commit is contained in:
jean-pierre charras 2020-12-07 14:20:38 +01:00
parent 33ead130ac
commit 86b631b31e
1 changed files with 2 additions and 2 deletions

View File

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