Hopefully the last of the symbol id escaping issues.
Fixes https://gitlab.com/kicad/code/kicad/issues/8694
This commit is contained in:
parent
de92aaab9a
commit
293f207356
|
@ -209,7 +209,7 @@ protected:
|
|||
KIWAY_PLAYER* frame = m_dlg->Kiway().Player( FRAME_SCH_VIEWER_MODAL, true, m_dlg );
|
||||
|
||||
if( frame->ShowModal( &symbolId, m_dlg ) )
|
||||
SetValue( symbolId );
|
||||
SetValue( UnescapeString( symbolId ) );
|
||||
|
||||
frame->Destroy();
|
||||
}
|
||||
|
|
|
@ -509,6 +509,10 @@ void DIALOG_EDIT_SYMBOLS_LIBID::AddRowToGrid( bool aMarkRow, const wxString& aRe
|
|||
wxString getLibIdValue( const WX_GRID* aGrid, int aRow, int aCol )
|
||||
{
|
||||
wxString rawValue = aGrid->GetCellValue( aRow, aCol );
|
||||
|
||||
if( rawValue.IsEmpty() )
|
||||
return rawValue;
|
||||
|
||||
wxString itemName;
|
||||
wxString libName = rawValue.BeforeFirst( ':', &itemName );
|
||||
|
||||
|
|
Loading…
Reference in New Issue