7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Don't reset active layer to 0 after loading Gerber job file.

Fixes https://gitlab.com/kicad/code/kicad/issues/3388
This commit is contained in:
Jeff Young 2020-05-03 22:01:12 +01:00
parent 5bed201a23
commit b8e0b9759a

View File

@ -229,8 +229,6 @@ bool GERBVIEW_FRAME::LoadGerberJobFile( const wxString& aFullFileName )
SortLayersByX2Attributes();
SetActiveLayer( 0 );
if( !msg.IsEmpty() )
{
wxSafeYield(); // Allows slice of time to redraw the screen