Support subdirectories in relative paths in Spice model dialog
This commit is contained in:
parent
4f0c2ad083
commit
efdfaebf62
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue