Fix crash when <esc>ing from Hierarchical Sheet drawing tool.

This commit is contained in:
Jeff Young
2019-04-24 13:43:46 +01:00
parent e687d14903
commit e046e8f593
+1
View File
@@ -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