From 0b4d95be1cab628838ed3bfef7b3cc3a189dc4b2 Mon Sep 17 00:00:00 2001 From: Schmitti91 Date: Tue, 23 Jan 2024 21:43:29 +0100 Subject: [PATCH] Renameing the common setting name "CheckForUpdate Asked" to "AllowPromptForUpdates Preference" for consistency in naming conventions. --- mRemoteNG/Config/Settings/Registry/CommonRegistrySettings.cs | 2 +- mRemoteNG/UI/Forms/frmMain.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mRemoteNG/Config/Settings/Registry/CommonRegistrySettings.cs b/mRemoteNG/Config/Settings/Registry/CommonRegistrySettings.cs index 21d980fc4..ede5084a1 100644 --- a/mRemoteNG/Config/Settings/Registry/CommonRegistrySettings.cs +++ b/mRemoteNG/Config/Settings/Registry/CommonRegistrySettings.cs @@ -53,7 +53,7 @@ namespace mRemoteNG.Config.Settings.Registry /// /// Important: If the registry entry is set to true, a popup will appear every time you start /// - public static bool CheckForUpdatesAsked { get; } = _WindowsRegistry.GetBoolValue(_Hive, __Update, nameof(CheckForUpdatesAsked)); + public static bool AllowPromptForUpdatesPreference { get; } = _WindowsRegistry.GetBoolValue(_Hive, __Update, nameof(AllowPromptForUpdatesPreference), AllowCheckForUpdates); #endregion diff --git a/mRemoteNG/UI/Forms/frmMain.cs b/mRemoteNG/UI/Forms/frmMain.cs index eee7f9f7a..4ad65af51 100644 --- a/mRemoteNG/UI/Forms/frmMain.cs +++ b/mRemoteNG/UI/Forms/frmMain.cs @@ -348,7 +348,7 @@ namespace mRemoteNG.UI.Forms { if (!CommonRegistrySettings.AllowCheckForUpdates) return; if (!CommonRegistrySettings.AllowCheckForUpdatesAutomatical) return; - if (CommonRegistrySettings.CheckForUpdatesAsked) return; + if (!CommonRegistrySettings.AllowPromptForUpdatesPreference) return; if (Properties.OptionsUpdatesPage.Default.CheckForUpdatesAsked) return; string[] commandButtons =