mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Fixed bug MR-810. Omit setting the IsDefault setting when turning inheritance on completely
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user