Eeschema: Clear drawing state when loading project

Prevents stray flags from entering schematic editing process

Fixes: lp:1738894
* https://bugs.launchpad.net/kicad/+bug/1738894
This commit is contained in:
Seth Hillbrand 2017-12-18 16:05:18 -08:00 committed by Wayne Stambaugh
parent a1b7060189
commit f4f0c09fe4
1 changed files with 1 additions and 0 deletions

View File

@ -377,6 +377,7 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
Zoom_Automatique( false );
SetSheetNumberAndCount();
m_canvas->Refresh( true );
GetScreen()->ClearDrawingState();
return true;
}