mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Add Settings.Default.Save() to ConnectionContextMenu disconnect
Found another location where ConfirmCloseConnection is changed without immediately saving. This ensures all four code paths that change this setting persist it immediately. Co-authored-by: Kvarkas <3611964+Kvarkas@users.noreply.github.com>
This commit is contained in:
@@ -811,6 +811,7 @@ namespace mRemoteNG.UI.Controls
|
||||
if (CTaskDialog.VerificationChecked)
|
||||
{
|
||||
Settings.Default.ConfirmCloseConnection = (int)ConfirmCloseEnum.Never;
|
||||
Settings.Default.Save();
|
||||
}
|
||||
|
||||
if (result == DialogResult.No)
|
||||
|
||||
Reference in New Issue
Block a user