Fix crash when saving config in Pcbnew.
Due do latest changes, a local copy of m_DisplayOptions was used instead of m_DisplayOptions itself. But saving config use references to save params, so a non existing reference was used.
This commit is contained in:
parent
d788a5d99e
commit
0a018f514b
|
@ -150,7 +150,7 @@ PARAM_CFG_ARRAY& PCB_EDIT_FRAME::GetProjectFileParameters()
|
||||||
|
|
||||||
PARAM_CFG_ARRAY& PCB_EDIT_FRAME::GetConfigurationSettings()
|
PARAM_CFG_ARRAY& PCB_EDIT_FRAME::GetConfigurationSettings()
|
||||||
{
|
{
|
||||||
auto displ_opts = m_DisplayOptions;
|
PCB_DISPLAY_OPTIONS& displ_opts = m_DisplayOptions;
|
||||||
|
|
||||||
if( m_configParams.empty() )
|
if( m_configParams.empty() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue