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:
parent
a59864201a
commit
eb94d2fcd0
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue