Move debug msg to relevant section

This commit is contained in:
Seth Hillbrand 2018-04-17 12:35:19 -07:00
parent db2cda7271
commit fdd3f52e2d
1 changed files with 2 additions and 3 deletions

View File

@ -121,11 +121,10 @@ bool SCH_EDIT_FRAME::EditSheet( SCH_SHEET* aSheet, SCH_SHEET_PATH* aHierarchy )
if( !g_RootSheet->SearchHierarchy( newFilename, &useScreen ) )
{
loadFromFile = wxFileExists( newFilename );
wxLogDebug( "Sheet requested file \"%s\", %s", newFilename,
( loadFromFile ) ? "found" : "not found" );
}
wxLogDebug( "Sheet requested file \"%s\", %s", newFilename,
(loadFromFile) ? "found" : "not found" );
// Inside Eeschema, filenames are stored using unix notation
newFilename.Replace( wxT( "\\" ), wxT( "/" ) );