Fix footprint library editor bug.
* Don't convert footprint library path to wxFileName. This removes a '/' from the GIT_HUB_PLUGIN uri which causes wxUri to choke and the incorrect plug in is selected.
This commit is contained in:
parent
ec7f26f54b
commit
191cc6d16d
|
@ -823,12 +823,12 @@ void FOOTPRINT_EDIT_FRAME::Select_Active_Library()
|
|||
|
||||
setLibNickName( dlg.GetTextSelection() );
|
||||
wxString uri = m_footprintLibTable->FindRow( dlg.GetTextSelection() )->GetFullURI();
|
||||
wxFileName fileName = FP_LIB_TABLE::ExpandSubstitutions( uri );
|
||||
wxString fileName = FP_LIB_TABLE::ExpandSubstitutions( uri );
|
||||
|
||||
wxLogDebug( wxT( "Loading footprint library <%s> from <%s>." ),
|
||||
GetChars( dlg.GetTextSelection() ), GetChars( fileName.GetFullPath() ) );
|
||||
wxLogDebug( wxT( "Loading footprint library <%s> with uri <%s> from <%s>." ),
|
||||
GetChars( dlg.GetTextSelection() ), GetChars( uri ), GetChars( fileName ) );
|
||||
|
||||
setLibPath( fileName.GetFullPath() );
|
||||
setLibPath( fileName );
|
||||
updateTitle();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue