diff --git a/eeschema/symbol_editor/symbol_editor.cpp b/eeschema/symbol_editor/symbol_editor.cpp index b35e16504f..87cf950188 100644 --- a/eeschema/symbol_editor/symbol_editor.cpp +++ b/eeschema/symbol_editor/symbol_editor.cpp @@ -714,6 +714,8 @@ void SYMBOL_EDIT_FRAME::saveSymbolAs() return; } + new_name = EscapeString( new_name, CTX_LIBID ); + // Test if there is a symbol with this name already. if( m_libMgr->SymbolExists( new_name, new_lib ) ) {