libedit: Resolve path substitutions

Fixes: lp:1818220
* https://bugs.launchpad.net/kicad/+bug/1818220
This commit is contained in:
Seth Hillbrand 2019-03-02 08:00:24 -08:00
parent 84a1772e66
commit db31b7902a
1 changed files with 2 additions and 0 deletions

View File

@ -617,6 +617,8 @@ void LIB_EDIT_FRAME::OnViewEntryDoc( wxCommandEvent& event )
else
filename = part->GetAlias( 0 )->GetDocFileName();
filename = ResolveUriByEnvVars( filename );
if( !filename.IsEmpty() && filename != wxT( "~" ) )
{
SEARCH_STACK* lib_search = Prj().SchSearchS();