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:
parent
e4d2dbb7a7
commit
becbf82390
@ -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 );
|
||||
|
@ -2164,7 +2164,7 @@ void PCB_EDIT_FRAME::ShowFootprintPropertiesDialog( FOOTPRINT* aFootprint )
|
||||
{
|
||||
DIALOG_FOOTPRINT_PROPERTIES dlg( this, aFootprint );
|
||||
|
||||
dlg.ShowModal();
|
||||
dlg.ShowQuasiModal();
|
||||
retvalue = dlg.GetReturnValue();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user