Gerbview: fix an issue when loading files: Layer filenames order in right tab view modified each time a new file is loaded.

It creates strange issues (inconsistent layer filenames order, inconsistent items colors) especially with non X2 files.
This commit is contained in:
jean-pierre charras 2018-02-27 19:58:07 +01:00
parent a59864201a
commit eb94d2fcd0
1 changed files with 0 additions and 2 deletions

View File

@ -306,8 +306,6 @@ bool GERBVIEW_FRAME::loadListOfGerberFiles( const wxString& aPath,
Zoom_Automatique( false );
GetImagesList()->SortImagesByZOrder();
// Synchronize layers tools with actual active layer:
ReFillLayerWidget();
SetActiveLayer( GetActiveLayer() );