Fix name escaping in Save As
Fixes https://gitlab.com/kicad/code/kicad/issues/13504
This commit is contained in:
parent
316087c468
commit
5e3b74aee5
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue