From 8f4ff1e954dc6076018566a426f9c1476b939889 Mon Sep 17 00:00:00 2001 From: Pradeepa Senanayake Date: Sun, 25 Jul 2021 12:48:26 +1000 Subject: [PATCH] Disabled zoom-to-fit when loading gerb files --- gerbview/files.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gerbview/files.cpp b/gerbview/files.cpp index 22e5eb96f9..7cf962a50e 100644 --- a/gerbview/files.cpp +++ b/gerbview/files.cpp @@ -193,10 +193,7 @@ bool GERBVIEW_FRAME::LoadGerberFiles( const wxString& aFullFileName ) // Set the busy cursor wxBusyCursor wait; - bool success = LoadListOfGerberAndDrillFiles( currentPath, filenamesList ); - Zoom_Automatique( false ); - - return success; + return LoadListOfGerberAndDrillFiles( currentPath, filenamesList ); }