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 =