Tag release version 7.0.10.
This commit is contained in:
parent
1fdf7d0cf4
commit
567c5bc8db
|
@ -37,7 +37,7 @@
|
||||||
# KiCad.
|
# KiCad.
|
||||||
#
|
#
|
||||||
# Note: This version string should follow the semantic versioning system
|
# Note: This version string should follow the semantic versioning system
|
||||||
set( KICAD_SEMANTIC_VERSION "7.0.10-rc1" )
|
set( KICAD_SEMANTIC_VERSION "7.0.10" )
|
||||||
|
|
||||||
# Default the version to the semantic version.
|
# Default the version to the semantic version.
|
||||||
# This is overridden by the git repository tag though (if using git)
|
# This is overridden by the git repository tag though (if using git)
|
||||||
|
|
|
@ -332,7 +332,8 @@ void SCH_EDITOR_CONTROL::doCrossProbeSchToPcb( const TOOL_EVENT& aEvent, bool aF
|
||||||
|
|
||||||
int SCH_EDITOR_CONTROL::ExportSymbolsToLibrary( const TOOL_EVENT& aEvent )
|
int SCH_EDITOR_CONTROL::ExportSymbolsToLibrary( const TOOL_EVENT& aEvent )
|
||||||
{
|
{
|
||||||
bool savePowerSymbols = IsOK( m_frame, _( "Include power symbols in schematic to the library?" ) );
|
bool savePowerSymbols = IsOK( m_frame,
|
||||||
|
_( "Include power symbols in schematic to the library?" ) );
|
||||||
|
|
||||||
bool createNew = aEvent.IsAction( &EE_ACTIONS::exportSymbolsToNewLibrary );
|
bool createNew = aEvent.IsAction( &EE_ACTIONS::exportSymbolsToNewLibrary );
|
||||||
|
|
||||||
|
@ -425,7 +426,19 @@ int SCH_EDITOR_CONTROL::ExportSymbolsToLibrary( const TOOL_EVENT& aEvent )
|
||||||
LIB_SYMBOL* origSym = it.second;
|
LIB_SYMBOL* origSym = it.second;
|
||||||
LIB_SYMBOL* newSym = origSym->Flatten().release();
|
LIB_SYMBOL* newSym = origSym->Flatten().release();
|
||||||
|
|
||||||
pi->SaveSymbol( dest.GetFullPath(), newSym );
|
try
|
||||||
|
{
|
||||||
|
pi->SaveSymbol( dest.GetFullPath(), newSym );
|
||||||
|
}
|
||||||
|
catch( const IO_ERROR& ioe )
|
||||||
|
{
|
||||||
|
wxString msg;
|
||||||
|
msg.Printf( _( "Error saving symbol %s to library '%s'." ),
|
||||||
|
newSym->GetName(), row->GetNickName() );
|
||||||
|
msg += wxS( "\n\n" ) + ioe.What();
|
||||||
|
wxLogWarning( msg );
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
if( map )
|
if( map )
|
||||||
{
|
{
|
||||||
|
@ -434,7 +447,8 @@ int SCH_EDITOR_CONTROL::ExportSymbolsToLibrary( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
for( SCH_SYMBOL* symbol : symbolMap[it.first] )
|
for( SCH_SYMBOL* symbol : symbolMap[it.first] )
|
||||||
{
|
{
|
||||||
m_frame->SaveCopyInUndoList( m_frame->GetScreen(), symbol, UNDO_REDO::CHANGED, append, false);
|
m_frame->SaveCopyInUndoList( m_frame->GetScreen(), symbol, UNDO_REDO::CHANGED,
|
||||||
|
append, false );
|
||||||
symbol->SetLibId( id );
|
symbol->SetLibId( id );
|
||||||
append = true;
|
append = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue