Pcbnew, export svg: Fix incorrect saving of layer set.

From Master branch
This commit is contained in:
jean-pierre charras 2022-01-27 13:03:00 +01:00
parent 2a27899b9b
commit 3f6a4296d9
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2012 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 2012 KiCad Developers, see change_log.txt for contributors.
* Copyright (C) 2022 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -134,7 +134,7 @@ DIALOG_EXPORT_SVG::~DIALOG_EXPORT_SVG()
continue;
if( m_boxSelectLayer[layer].first->IsChecked( m_boxSelectLayer[layer].second ) )
cfg->m_ExportSvg.layers.push_back( m_boxSelectLayer[layer].second );
cfg->m_ExportSvg.layers.push_back( layer );
}
}