From 747583606bfacef6bd4e934faec98326b022fae6 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Wed, 10 May 2017 16:05:06 -0400 Subject: [PATCH] Eeschema: fix regression when sheet files are not in project path. Fixes lp:1683921 https://bugs.launchpad.net/kicad/+bug/1683921 --- eeschema/sch_legacy_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );