Reverse escaping when transferring multi-line
We escape the strings coming out of the DIALOG_TEXT_PROPERTIES window, so we need to unescape the ones coming in Fixes https://gitlab.com/kicad/code/kicad/issues/9327
This commit is contained in:
parent
b5cd976845
commit
ad85f8078a
|
@ -216,7 +216,8 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataToWindow()
|
|||
else if( m_MultiLineText->IsShown() )
|
||||
{
|
||||
BOARD* board = m_Parent->GetBoard();
|
||||
wxString converted = board->ConvertKIIDsToCrossReferences( m_edaText->GetText() );
|
||||
wxString converted = board->ConvertKIIDsToCrossReferences(
|
||||
UnescapeString( m_edaText->GetText() ) );
|
||||
|
||||
m_MultiLineText->SetValue( converted );
|
||||
m_MultiLineText->SetSelection( -1, -1 );
|
||||
|
|
Loading…
Reference in New Issue