mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Fixed broken settings ui
Settings UI checkboxes weren't being set properly. This fixes that issue.
This commit is contained in:
parent
26506392bb
commit
9531dc717a
@ -965,7 +965,7 @@ namespace DisplayMagician {
|
||||
AutoUpdater.ParseUpdateInfoEvent += AutoUpdaterOnParseUpdateInfoEvent;
|
||||
AutoUpdater.RunUpdateAsAdmin = true;
|
||||
AutoUpdater.HttpUserAgent = "DisplayMagician AutoUpdater";
|
||||
if (Program.AppProgramSettings.UpgradeToPreReleases)
|
||||
if (Program.AppProgramSettings.UpgradeToPreReleases == false)
|
||||
{
|
||||
AutoUpdater.Start("http://displaymagician.littlebitbig.com/update/update_2.0.json");
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ namespace DisplayMagician.UIForms
|
||||
private void SettingsForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
// start displaymagician when computer starts
|
||||
if (Program.AppProgramSettings.StartOnBootUp)
|
||||
if (Program.AppProgramSettings.StartOnBootUp == true)
|
||||
{
|
||||
cb_start_on_boot.Checked = true;
|
||||
logger.Info($"SettingsForm/SettingsForm_Load: AppProgramSettings StartOnBootUp set to true");
|
||||
@ -51,7 +51,7 @@ namespace DisplayMagician.UIForms
|
||||
}
|
||||
|
||||
// setup minimise on start
|
||||
if (Program.AppProgramSettings.MinimiseOnStart)
|
||||
if (Program.AppProgramSettings.MinimiseOnStart == true)
|
||||
{
|
||||
cb_minimise_notification_area.Checked = true;
|
||||
logger.Info($"SettingsForm/SettingsForm_Load: AppProgramSettings MinimiseOnStart set to true");
|
||||
@ -63,7 +63,7 @@ namespace DisplayMagician.UIForms
|
||||
}
|
||||
|
||||
// start upgrade settings
|
||||
if (Program.AppProgramSettings.UpgradeToPreReleases)
|
||||
if (Program.AppProgramSettings.UpgradeToPreReleases == true)
|
||||
{
|
||||
cb_upgrade_prerelease.Checked = true;
|
||||
logger.Info($"SettingsForm/SettingsForm_Load: AppProgramSettings UpgradeToPreReleases set to true");
|
||||
|
Loading…
Reference in New Issue
Block a user