Eeschema: minor fix to wxFileDialog file name parameter when saving project settings.

This commit is contained in:
Simon Wells 2015-10-11 15:37:33 -04:00 committed by Wayne Stambaugh
commit cb6ea1ed13
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ void SCH_EDIT_FRAME::SaveProjectSettings( bool aAskForSave )
if( aAskForSave ) if( aAskForSave )
{ {
wxFileDialog dlg( this, _( "Save Project File" ), wxFileDialog dlg( this, _( "Save Project File" ),
fn.GetPath(), fn.GetFullPath(), fn.GetPath(), fn.GetFullName(),
ProjectFileWildcard, wxFD_SAVE ); ProjectFileWildcard, wxFD_SAVE );
if( dlg.ShowModal() == wxID_CANCEL ) if( dlg.ShowModal() == wxID_CANCEL )