From eb94d2fcd0a59357dac18dbd5106ed37b8f81006 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 27 Feb 2018 19:58:07 +0100 Subject: [PATCH] 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. --- gerbview/files.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/gerbview/files.cpp b/gerbview/files.cpp index 76f7e06ed4..381ade3f5f 100644 --- a/gerbview/files.cpp +++ b/gerbview/files.cpp @@ -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() );