Took out all the user folder stuff and put it into the file dialog.
Also made file dialog remember what folder was last used and use that one if it has been set. Does the old user folder when not set.
This commit is contained in:
parent
6b7bf6edfa
commit
30c77146ec
9 changed files with 11 additions and 35 deletions
|
|
@ -113,8 +113,7 @@ namespace MatterHackers.MatterControl
|
|||
public void SaveAs()
|
||||
//Opens Save file dialog and outputs current queue as a project
|
||||
{
|
||||
string documentsPath = System.Environment.GetFolderPath (System.Environment.SpecialFolder.Personal);
|
||||
SaveFileDialogParams saveParams = new SaveFileDialogParams("Save Project|*.mcp", initialDirectory: documentsPath);
|
||||
SaveFileDialogParams saveParams = new SaveFileDialogParams("Save Project|*.mcp");
|
||||
|
||||
FileDialog.SaveFileDialog(saveParams, onSaveFileSelected);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue