Eeschema: fix BOM path bug in stand alone mode.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8180
This commit is contained in:
Wayne Stambaugh 2021-05-07 15:44:21 -04:00
parent b56ac54cb2
commit d6646c34ef
2 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2018 CERN
* Copyright (C) 2021 KiCad Developers, see AUTHORS.txt for contributors.
* @author Maciej Suminski <maciej.suminski@cern.ch>
*
* This program is free software; you can redistribute it and/or

View File

@ -457,7 +457,6 @@ void DIALOG_BOM::OnRunPlugin( wxCommandEvent& event )
// Calculate the xml netlist filename
wxFileName fn = g_RootSheet->GetScreen()->GetFileName();
fn.SetPath( wxPathOnly( Prj().GetProjectFullName() ) );
fn.ClearExt();
wxString fullfilename = fn.GetFullPath();