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

This commit is contained in:
charras 2009-04-15 12:12:59 +00:00
parent 7cd50d33a0
commit dd4e90215e
5 changed files with 817 additions and 1615 deletions

View File

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

View File

@ -23,7 +23,7 @@
const wxString GerbviewProjectFileExt( wxT( "cnf" ) );
const wxString GerbviewProjectFileWildcard( _( "GervView project files " \
const wxString GerbviewProjectFileWildcard( _( "GerbView project files " \
"(.cnf)|*.cnf" ) );

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

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