Commit dd4e9021 authored by charras's avatar charras

typo; bug in lib component edition: doc filename was entered from browse button without extension.

parent 7cd50d33
......@@ -791,7 +791,7 @@ void WinEDA_PartPropertiesFrame::BrowseAndSelectDocFile( wxCommandEvent& event )
if( pathlen < 0 // a subpath is found
|| pathlen > (int) fn.GetPath().Len() ) // a better subpath if found
{
filename = fn.GetPathWithSep() + fn.GetName();
filename = fn.GetPathWithSep() + fn.GetFullName();
pathlen = fn.GetPath().Len();
}
fn = FullFileName; //Try to find a better subpath
......
......@@ -23,7 +23,7 @@
const wxString GerbviewProjectFileExt( wxT( "cnf" ) );
const wxString GerbviewProjectFileWildcard( _( "GervView project files " \
const wxString GerbviewProjectFileWildcard( _( "GerbView project files " \
"(.cnf)|*.cnf" ) );
......
No preview for this file type
This diff is collapsed.
......@@ -693,7 +693,7 @@ void WinEDA_PlotFrame::Plot( wxCommandEvent& event )
case PLOT_FORMAT_HPGL:
ext = wxT( "plt" );
wildcard = _( "HPGL plat files (.plt)|*.plt" );
wildcard = _( "HPGL plot files (.plt)|*.plt" );
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment