Navigation Menu

Skip to content

Commit

Permalink
[VVVV] fixed: CodeEditor SaveAs now saves with correct extension
Browse files Browse the repository at this point in the history
  • Loading branch information
joreg committed Aug 3, 2017
1 parent c665d3e commit 922fb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vvvv45/src/nodes/editors/CodeEditor/CodeEditor.cs
Expand Up @@ -633,7 +633,7 @@ protected override bool ProcessKeyPreview(ref Message m)

var saveDialog = new System.Windows.Forms.SaveFileDialog();
saveDialog.InitialDirectory = Path.GetDirectoryName(TextDocument.Project.LocalPath);
saveDialog.Filter = String.Format("{0} Document (*.{1})|*.{1}", ext.ToUpper(), ext.ToLower());
saveDialog.Filter = String.Format("{0} Document (*{1})|*{1}", ext.ToUpper(), ext.ToLower());
saveDialog.AddExtension = true;

if (saveDialog.ShowDialog() == DialogResult.OK)
Expand Down

0 comments on commit 922fb67

Please sign in to comment.