From 323bec4adc46508426279add383442657e34de28 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 22 Jan 2023 08:56:11 -0500 Subject: [PATCH] Remove hidden undocumented env var for worksheet Fixes https://gitlab.com/kicad/code/kicad/-/issues/8342 --- common/drawing_sheet/drawing_sheet_parser.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/drawing_sheet/drawing_sheet_parser.cpp b/common/drawing_sheet/drawing_sheet_parser.cpp index 7e2bea9e50..5a89b3d333 100644 --- a/common/drawing_sheet/drawing_sheet_parser.cpp +++ b/common/drawing_sheet/drawing_sheet_parser.cpp @@ -911,9 +911,6 @@ bool DS_DATA_MODEL::LoadDrawingSheet( const wxString& aFullFileName, bool Append if( !Append ) { - if( fullFileName.IsEmpty() ) - wxGetEnv( wxT( "KICAD_WKSFILE" ), &fullFileName ); - if( fullFileName.IsEmpty() ) { SetDefaultLayout();