Remove hidden undocumented env var for worksheet

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8342
This commit is contained in:
Marek Roszko 2023-01-22 08:56:11 -05:00
parent 03a64492e8
commit 323bec4adc
1 changed files with 0 additions and 3 deletions

View File

@ -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();