From 11952fadfa946ab8ca3484328234684e55ee6104 Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Fri, 9 Oct 2015 20:38:35 +1300 Subject: [PATCH] Changed the file dialog to use the name instead of the path as its a file dialog --- eeschema/eeschema_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/eeschema_config.cpp b/eeschema/eeschema_config.cpp index 4603253d77..2d87f8cece 100644 --- a/eeschema/eeschema_config.cpp +++ b/eeschema/eeschema_config.cpp @@ -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 )