Created a UserSettingsKey and SystemSettingsKey

Moved some settings into this, lots more to do
This commit is contained in:
Lars Brubaker 2016-08-30 10:30:55 -07:00
parent 8f8afc5681
commit cd7406d82b
14 changed files with 64 additions and 48 deletions

View file

@ -525,7 +525,7 @@ namespace MatterHackers.MatterControl
bool showAuthWindow = WizardWindow.ShouldShowAuthPanel?.Invoke() ?? false;
if (showAuthWindow)
{
if (UserSettings.Instance.get("SuppressAuthPanel") != "True")
if (ApplicationSettings.Instance.get(ApplicationSettingsKey.SuppressAuthPanel) != "True")
{
//Launch window to prompt user to sign in
UiThread.RunOnIdle(() => WizardWindow.ShowPrinterSetup());