diff --git a/eeschema/sch_legacy_plugin.cpp b/eeschema/sch_legacy_plugin.cpp index 0030c7fb78..7571cd998b 100644 --- a/eeschema/sch_legacy_plugin.cpp +++ b/eeschema/sch_legacy_plugin.cpp @@ -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 );