Removed the deprecated SaveConnectionsOnExit option from the registry settings related to startup and exit.

This commit is contained in:
xRushG
2024-10-01 12:29:01 +02:00
parent 88600ae6df
commit 600ba73f5f

View File

@@ -67,8 +67,7 @@ namespace mRemoteNG.App
DateTime updateDate;
DateTime currentDate = DateTime.Now;
//OBSOLETE: Settings.Default.SaveConsOnExit is obsolete and should be removed in a future release
if (Properties.OptionsStartupExitPage.Default.SaveConnectionsOnExit || (Properties.OptionsBackupPage.Default.SaveConnectionsFrequency == (int)ConnectionsBackupFrequencyEnum.OnExit))
if ((Properties.OptionsBackupPage.Default.SaveConnectionsFrequency == (int)ConnectionsBackupFrequencyEnum.OnExit))
{
Runtime.ConnectionsService.SaveConnections();
return;