Remove hidden undocumented env var for worksheet
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8342
This commit is contained in:
parent
03a64492e8
commit
323bec4adc
|
@ -911,9 +911,6 @@ bool DS_DATA_MODEL::LoadDrawingSheet( const wxString& aFullFileName, bool Append
|
||||||
|
|
||||||
if( !Append )
|
if( !Append )
|
||||||
{
|
{
|
||||||
if( fullFileName.IsEmpty() )
|
|
||||||
wxGetEnv( wxT( "KICAD_WKSFILE" ), &fullFileName );
|
|
||||||
|
|
||||||
if( fullFileName.IsEmpty() )
|
if( fullFileName.IsEmpty() )
|
||||||
{
|
{
|
||||||
SetDefaultLayout();
|
SetDefaultLayout();
|
||||||
|
|
Loading…
Reference in New Issue