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 ) ...@@ -791,7 +791,7 @@ void WinEDA_PartPropertiesFrame::BrowseAndSelectDocFile( wxCommandEvent& event )
if( pathlen < 0 // a subpath is found if( pathlen < 0 // a subpath is found
|| pathlen > (int) fn.GetPath().Len() ) // a better subpath if 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(); pathlen = fn.GetPath().Len();
} }
fn = FullFileName; //Try to find a better subpath fn = FullFileName; //Try to find a better subpath
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
const wxString GerbviewProjectFileExt( wxT( "cnf" ) ); const wxString GerbviewProjectFileExt( wxT( "cnf" ) );
const wxString GerbviewProjectFileWildcard( _( "GervView project files " \ const wxString GerbviewProjectFileWildcard( _( "GerbView project files " \
"(.cnf)|*.cnf" ) ); "(.cnf)|*.cnf" ) );
......
No preview for this file type
This diff is collapsed.
...@@ -693,7 +693,7 @@ void WinEDA_PlotFrame::Plot( wxCommandEvent& event ) ...@@ -693,7 +693,7 @@ void WinEDA_PlotFrame::Plot( wxCommandEvent& event )
case PLOT_FORMAT_HPGL: case PLOT_FORMAT_HPGL:
ext = wxT( "plt" ); ext = wxT( "plt" );
wildcard = _( "HPGL plat files (.plt)|*.plt" ); wildcard = _( "HPGL plot files (.plt)|*.plt" );
break; 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