Working on local user profile cache

Saving a new user.json for signed in users
This commit is contained in:
Lars Brubaker 2016-07-06 17:45:53 -07:00
parent 6c08b9421d
commit 90aa9f44cf
4 changed files with 45 additions and 4 deletions

View file

@ -147,6 +147,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
UserSettings.Instance.set("ActiveProfileID", printerID);
UserSettings.Instance.set("ActiveUserName", ApplicationController.Instance.GetSessionUsernameForFileSystem());
Instance = profile ?? ProfileManager.LoadEmptyProfile();
}