Fix nullptr crash in undo.
This commit is contained in:
parent
02b380da96
commit
031c46c887
|
@ -1318,6 +1318,9 @@ void SCH_EDIT_FRAME::RefreshOperatingPointDisplay()
|
|||
{
|
||||
SCHEMATIC_SETTINGS& settings = m_schematic->Settings();
|
||||
SIM_LIB_MGR simLibMgr( &Prj() );
|
||||
NULL_REPORTER devnull;
|
||||
|
||||
simLibMgr.SetReporter( &devnull );
|
||||
|
||||
// Patch for bug early in V7.99 dev
|
||||
if( settings.m_OPO_VRange.EndsWith( 'A' ) )
|
||||
|
|
Loading…
Reference in New Issue