mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
fixed bug preventing FullyObservableCollection from generating events
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user