From b8e0b9759a69f9065d3de6ae0ba001f0cd28cd59 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 3 May 2020 22:01:12 +0100 Subject: [PATCH] Don't reset active layer to 0 after loading Gerber job file. Fixes https://gitlab.com/kicad/code/kicad/issues/3388 --- gerbview/job_file_reader.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/gerbview/job_file_reader.cpp b/gerbview/job_file_reader.cpp index d12ac77ed3..a7f441e6e5 100644 --- a/gerbview/job_file_reader.cpp +++ b/gerbview/job_file_reader.cpp @@ -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