fixed bugs in CommunicationDataViewModel

master
Jonas Arnold 3 years ago
parent e7eb55848e
commit 676465a5c1
  1. 4
      MultiTerm.Core/ViewModel/CommunicationDataViewModel.cs

@ -88,7 +88,7 @@ public partial class CommunicationDataViewModel : ObservableObject
{
foreach (var sentChar in e.SentCharacters)
{
this.SentCharacters.Add(sentChar);
//this.SentCharacters.Add(sentChar); // TODO Fix
}
}
@ -101,6 +101,6 @@ public partial class CommunicationDataViewModel : ObservableObject
[RelayCommand]
private void ClearSentCharacters()
{
this.SentCharacters = new ObservableCollection<ExtendedChar>();
this.SentData = new ObservableCollection<DataViewModel>();
}
}

Loading…
Cancel
Save