From 86b631b31e18597d19ef4e642c8c5f55f40dfc73 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 7 Dec 2020 14:20:38 +0100 Subject: [PATCH] Fix incorrect use of ShowQuasiModal instead of ShowModal. Fixes #6653 https://gitlab.com/kicad/code/kicad/issues/6653 --- pcbnew/pcb_edit_frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index a639c82705..9c4b97b0f2 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -1538,8 +1538,8 @@ void PCB_EDIT_FRAME::ShowFootprintPropertiesDialog( FOOTPRINT* aFootprint ) DIALOG_FOOTPRINT_PROPERTIES* dlg = new DIALOG_FOOTPRINT_PROPERTIES( this, aFootprint ); - // Must be QuasiModal for Configure Paths > Help - int retvalue = dlg->ShowQuasiModal(); + // Must be modal because we destroy the dialog on return. + int retvalue = dlg->ShowModal(); /* * retvalue = * FP_PROPS_UPDATE_FP to show Update Footprints dialog