Extract profile management to ProfileManager class

- Use on disk profiles.json
 - Support MarkedForDelete functionality
 - Issue #930
This commit is contained in:
John Lewin 2016-06-15 12:58:36 -07:00
parent 1a84cb7a4c
commit 4e74156521
12 changed files with 100 additions and 298 deletions

View file

@ -154,7 +154,7 @@ namespace MatterHackers.MatterControl
{
if(newPrinterButton.Checked)
{
ActiveSliceSettings.ImportFromExisting(settingsFilePath);
ProfileManager.ImportFromExisting(settingsFilePath);
WizardWindow.ChangeToPage(new ImportToPrinterSucceeded(Path.GetFileNameWithoutExtension(settingsFilePath)));
}
else if(mergeButton.Checked)