DbLib: Load source symbol in editor when edit action is taken

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12840
This commit is contained in:
Jon Evans
2023-01-19 22:45:46 -05:00
parent 6cce99e0d0
commit dee4f80680
4 changed files with 39 additions and 6 deletions
@@ -312,6 +312,7 @@ LIB_SYMBOL* SCH_DATABASE_PLUGIN::loadSymbolFromRow( const wxString& aSymbolName,
wxLogTrace( traceDatabase, wxT( "loadSymbolFromRow: found original symbol '%s'" ),
symbolIdStr );
symbol = originalSymbol->Duplicate();
symbol->SetSourceLibId( symbolId );
}
else
{