mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
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();
|
SCHEMATIC_SETTINGS& settings = m_schematic->Settings();
|
||||||
SIM_LIB_MGR simLibMgr( &Prj() );
|
SIM_LIB_MGR simLibMgr( &Prj() );
|
||||||
|
NULL_REPORTER devnull;
|
||||||
|
|
||||||
|
simLibMgr.SetReporter( &devnull );
|
||||||
|
|
||||||
// Patch for bug early in V7.99 dev
|
// Patch for bug early in V7.99 dev
|
||||||
if( settings.m_OPO_VRange.EndsWith( 'A' ) )
|
if( settings.m_OPO_VRange.EndsWith( 'A' ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user