Eeschema: fix regression when sheet files are not in project path.
Fixes lp:1683921 https://bugs.launchpad.net/kicad/+bug/1683921
This commit is contained in:
parent
5ad1a13096
commit
747583606b
|
@ -624,7 +624,7 @@ void SCH_LEGACY_PLUGIN::loadHierarchy( SCH_SHEET* aSheet )
|
|||
wxFileName fileName = aSheet->GetFileName();
|
||||
|
||||
if( !fileName.IsAbsolute() )
|
||||
fileName.SetPath( m_path );
|
||||
fileName.MakeAbsolute( m_path );
|
||||
|
||||
m_rootSheet->SearchHierarchy( fileName.GetFullPath(), &screen );
|
||||
|
||||
|
|
Loading…
Reference in New Issue