From d6646c34efc82a24aa10adc89961857830724c88 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Fri, 7 May 2021 15:44:21 -0400 Subject: [PATCH] Eeschema: fix BOM path bug in stand alone mode. Fixes https://gitlab.com/kicad/code/kicad/-/issues/8180 --- eeschema/bom_plugins.cpp | 1 + eeschema/dialogs/dialog_bom.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/bom_plugins.cpp b/eeschema/bom_plugins.cpp index ed131ea4cb..9923876235 100644 --- a/eeschema/bom_plugins.cpp +++ b/eeschema/bom_plugins.cpp @@ -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 * * This program is free software; you can redistribute it and/or diff --git a/eeschema/dialogs/dialog_bom.cpp b/eeschema/dialogs/dialog_bom.cpp index a54ab31631..d30359d21f 100644 --- a/eeschema/dialogs/dialog_bom.cpp +++ b/eeschema/dialogs/dialog_bom.cpp @@ -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();