Run CommonSettingsChanged after all panels have been committed.
Fixes: lp:1787377 * https://bugs.launchpad.net/kicad/+bug/1787377
This commit is contained in:
parent
779398891d
commit
2e5d8061aa
|
@ -113,8 +113,6 @@ bool PANEL_COMMON_SETTINGS::TransferDataFromWindow()
|
||||||
Pgm().ForceSystemPdfBrowser( m_defaultPDFViewer->GetValue() );
|
Pgm().ForceSystemPdfBrowser( m_defaultPDFViewer->GetValue() );
|
||||||
Pgm().WritePdfBrowserInfos();
|
Pgm().WritePdfBrowserInfos();
|
||||||
|
|
||||||
m_dialog->Kiway().CommonSettingsChanged();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -527,7 +527,13 @@ bool EDA_BASE_FRAME::ShowPreferences( EDA_HOTKEY_CONFIG* aHotkeys, EDA_HOTKEY_CO
|
||||||
frame->InstallPreferences( &dlg );
|
frame->InstallPreferences( &dlg );
|
||||||
}
|
}
|
||||||
|
|
||||||
return( dlg.ShowModal() != wxID_CANCEL );
|
if( dlg.ShowModal() == wxID_OK )
|
||||||
|
{
|
||||||
|
dlg.Kiway().CommonSettingsChanged();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue