KiCad: fix assertion when adding new path configuration entry.
The fix for this is a crude hack. The assertion is caused by the fact that KICAD_MANAGER_FRAME is not a KIWAY_PLAYER. The only way to fix this correctly is to derive KICAD_MANAGER_FRAME from KIWAY_PLAYER so the window ordering can be corrected and the dialog can be called using ShowQuasiModal(). Fixes lp:1744228 https://bugs.launchpad.net/kicad/+bug/1744228
This commit is contained in:
parent
c6d0075076
commit
c95c77c51a
|
@ -188,7 +188,7 @@ bool DIALOG_ENV_VAR_CONFIG::GetPathAtIndex( unsigned int aIndex, wxString& aEnvV
|
|||
|
||||
void DIALOG_ENV_VAR_CONFIG::OnAddButton( wxCommandEvent& event )
|
||||
{
|
||||
DIALOG_ENV_VAR_SINGLE dlg( this, wxEmptyString, wxEmptyString );
|
||||
DIALOG_ENV_VAR_SINGLE dlg( nullptr, wxEmptyString, wxEmptyString );
|
||||
|
||||
if( dlg.ShowModal() == wxID_OK )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue