Default save project file to solution title, do not create new solution object model for creating reference
This commit is contained in:
parent
2c3006def4
commit
653e47fd94
@ -954,9 +954,14 @@ namespace UniversalEditor.UserInterface.WindowsForms
|
||||
}
|
||||
public void SaveProjectAs()
|
||||
{
|
||||
SolutionObjectModel solution = new SolutionObjectModel();
|
||||
if (mvarCurrentSolution == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
SaveFileDialog sfd = new SaveFileDialog();
|
||||
sfd.Filter = UniversalEditor.Common.Dialog.GetCommonDialogFilter(solution.MakeReference());
|
||||
sfd.Filter = UniversalEditor.Common.Dialog.GetCommonDialogFilter(mvarCurrentSolution.MakeReference());
|
||||
sfd.FileName = mvarCurrentSolution.Title + ".sln";
|
||||
if (sfd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
SaveProjectAs(sfd.FileName);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user