Symbol editor: fix broken long dash in title.

Fixes https://gitlab.com/kicad/code/kicad/issues/5455
This commit is contained in:
Wayne Stambaugh 2020-09-02 09:22:55 -04:00
parent 2198f8666c
commit c0afeed13d
1 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,8 @@ void LIB_EDIT_FRAME::updateTitle()
if( IsSymbolFromSchematic() )
{
title += wxString::Format( _( " \u2014 %s from schematic" ), m_reference );
title += wxT( " \u2014 " );
title += wxString::Format( _( "%s from schematic" ), m_reference );
}
else
{
@ -61,7 +62,7 @@ void LIB_EDIT_FRAME::updateTitle()
title += wxT( " \u2014 " ) + GetCurPart()->GetLibId().Format();
if( GetCurPart() && m_libMgr && m_libMgr->IsLibraryReadOnly( GetCurLib() ) )
title += _( " \u2014 [Read Only Library]" );
title += wxT( " \u2014 " ) + _( "[Read Only Library]" );
}
SetTitle( title );