mirror of
				https://github.com/holgerb83/ModernWpfPlayground.git
				synced 2025-10-31 16:21:19 +01:00 
			
		
		
		
	ugly fix for the setter changed method
This commit is contained in:
		| @@ -43,8 +43,12 @@ namespace ModernWpfPlayground.MvvmStuff | ||||
|             if (predicate != null) keys = keys.Where(predicate); | ||||
|             foreach (var key in keys) | ||||
|             { | ||||
|                 var currentValue = ObjectAccessor[key]; | ||||
|                 _values.Remove(key); | ||||
|                 RaisePropertyChanged(key); | ||||
|                 var newValue = ObjectAccessor[key]; | ||||
|                 if (Equals(currentValue, newValue)) continue; | ||||
|                 _values.Add(key, currentValue); | ||||
|                 ObjectAccessor[key] = newValue; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user