Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #310 from caverna/master
Browse files Browse the repository at this point in the history
Appending file extension when saving project
  • Loading branch information
yck1509 committed Oct 7, 2015
2 parents 1487f41 + 82a7c30 commit 2e7b8a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ConfuserEx/ViewModel/UI/AppVM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ bool SaveProj() {
var sfd = new VistaSaveFileDialog();
sfd.FileName = FileName;
sfd.Filter = "ConfuserEx Projects (*.crproj)|*.crproj|All Files (*.*)|*.*";
sfd.DefaultExt = ".crproj";
sfd.AddExtension = true;
if (!(sfd.ShowDialog(Application.Current.MainWindow) ?? false) || sfd.FileName == null)
return false;
FileName = sfd.FileName;
Expand Down

0 comments on commit 2e7b8a9

Please sign in to comment.