Browse Source

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
pull/5/merge
Seth Hillbrand 8 years ago
committed by Wayne Stambaugh
parent
commit
f4f0c09fe4
  1. 1
      eeschema/files-io.cpp

1
eeschema/files-io.cpp

@ -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;
}

Loading…
Cancel
Save