fixed bug preventing FullyObservableCollection from generating events

This commit is contained in:
David Sparer
2018-12-28 11:44:39 -06:00
parent 44aa100566
commit 29d44d103d

View File

@@ -10,7 +10,7 @@ namespace mRemoteNG.Tools.CustomCollections
where T : INotifyPropertyChanged
{
private readonly IList<T> _list = new List<T>();
private bool _eventsAllowed;
private bool _eventsAllowed = true;
public int Count => _list.Count;
public bool IsReadOnly => _list.IsReadOnly;