From efdfaebf6243f714ac921493339488190baf44ec Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 7 Oct 2016 16:07:10 +0200 Subject: [PATCH] Support subdirectories in relative paths in Spice model dialog --- eeschema/dialogs/dialog_spice_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_spice_model.cpp b/eeschema/dialogs/dialog_spice_model.cpp index 22fa3f8bd9..830b31fb70 100644 --- a/eeschema/dialogs/dialog_spice_model.cpp +++ b/eeschema/dialogs/dialog_spice_model.cpp @@ -626,7 +626,7 @@ void DIALOG_SPICE_MODEL::updateFromFile( wxComboBox* aComboBox, if( !filePath.Exists() ) { // Look for the file in the project path - filePath.SetPath( Prj().GetProjectPath() ); + filePath.SetPath( Prj().GetProjectPath() + filePath.GetPath() ); } wxTextFile file;