Fix crash when <esc>ing from Hierarchical Sheet drawing tool.
This commit is contained in:
parent
e687d14903
commit
e046e8f593
|
@ -1250,6 +1250,7 @@ int SCH_DRAWING_TOOL::doDrawSheet( SCH_SHEET *aSheet )
|
|||
else if( aSheet )
|
||||
{
|
||||
delete aSheet;
|
||||
aSheet = nullptr;
|
||||
m_frame->GetScreen()->SetCurItem( nullptr );
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue