Changed the file dialog to use the name instead of the path as its a file dialog

This commit is contained in:
Simon Wells 2015-10-09 20:38:35 +13:00
parent 7d5cb75507
commit 11952fadfa
1 changed files with 1 additions and 1 deletions

View File

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