From 7b177f1fd80e1ec254d7ef39fafa3cb1cfb0cb00 Mon Sep 17 00:00:00 2001 From: "Sparer, David" Date: Wed, 18 May 2016 09:42:26 -0600 Subject: [PATCH] Fixed bug MR-810. Omit setting the IsDefault setting when turning inheritance on completely --- mRemoteV1/Connection/ConnectionInfoInheritance.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mRemoteV1/Connection/ConnectionInfoInheritance.cs b/mRemoteV1/Connection/ConnectionInfoInheritance.cs index 65d67c4a2..8e3a8edea 100644 --- a/mRemoteV1/Connection/ConnectionInfoInheritance.cs +++ b/mRemoteV1/Connection/ConnectionInfoInheritance.cs @@ -365,13 +365,13 @@ namespace mRemoteNG.Connection { SetAllValues(false); } - + private void SetAllValues(bool value) { var properties = typeof(ConnectionInfoInheritance).GetProperties(); foreach (var property in properties) { - if (property.PropertyType.Name == typeof(Boolean).Name && property.Name != "EverythingInherited") + if (property.PropertyType.Name == typeof(Boolean).Name && property.Name != "EverythingInherited" && property.Name != "IsDefault") property.SetValue(this, value, null); } }