7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-14 12:09:35 +00:00

Keep FP Properties dialogs as quasimodal

The dialogs will launch their own quasi modal dialogs, which reparent
themselves to the TLW.  When closing, on GTK, they will focus the TLW,
leading to events being handled while the initial quasi modal dialog is
still showing.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19385
This commit is contained in:
Seth Hillbrand 2025-01-12 19:35:18 -08:00
parent e4d2dbb7a7
commit becbf82390
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ void FOOTPRINT_EDIT_FRAME::editFootprintProperties( FOOTPRINT* aFootprint )
LIB_ID oldFPID = aFootprint->GetFPID();
DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR dialog( this, aFootprint );
dialog.ShowModal();
dialog.ShowQuasiModal();
// Update library tree and title in case of a name change
wxDataViewItem treeItem = m_adapter->FindItem( oldFPID );

View File

@ -2164,7 +2164,7 @@ void PCB_EDIT_FRAME::ShowFootprintPropertiesDialog( FOOTPRINT* aFootprint )
{
DIALOG_FOOTPRINT_PROPERTIES dlg( this, aFootprint );
dlg.ShowModal();
dlg.ShowQuasiModal();
retvalue = dlg.GetReturnValue();
}