Merge pull request #1031 from jlewin/master
Remove ProfileData property, show wizard if visible printers < 1
This commit is contained in:
commit
ea7683dea2
3 changed files with 2 additions and 4 deletions
|
|
@ -718,7 +718,7 @@ namespace MatterHackers.MatterControl
|
|||
UiThread.RunOnIdle(() => WizardWindow.Show<LicenseAgreementPage>("SoftwareLicense", "Software License Agreement"));
|
||||
}
|
||||
|
||||
if (ProfileManager.Instance.Profiles.Count == 0)
|
||||
if (!ProfileManager.Instance.ActiveProfiles.Any())
|
||||
{
|
||||
// Start the setup wizard if no profiles exist
|
||||
UiThread.RunOnIdle(() => WizardWindow.Show());
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ namespace MatterHackers.MatterControl.SettingsManagement
|
|||
profileRequest.Request();
|
||||
|
||||
// Block on the current thread until the response has completed
|
||||
autoResetEvent.WaitOne(12000);
|
||||
autoResetEvent.WaitOne(30000);
|
||||
|
||||
return responseText;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -141,8 +141,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
}
|
||||
}
|
||||
|
||||
public static ProfileManager ProfileData { get; private set; }
|
||||
|
||||
internal static void SwitchToProfile(string printerID)
|
||||
{
|
||||
var profile = ProfileManager.LoadProfile(printerID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue