Support subdirectories in relative paths in Spice model dialog

This commit is contained in:
Maciej Suminski 2016-10-07 16:07:10 +02:00
parent 4f0c2ad083
commit efdfaebf62
1 changed files with 1 additions and 1 deletions

View File

@ -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;