Skip to content

Commit

Permalink
Remove binding hack in order to properly control points (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Vit Nemecky <[email protected]>
  • Loading branch information
vicocz and Vit Nemecky committed Apr 24, 2024
1 parent f05317e commit a8bb42e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,6 @@ private async Task DeleteControlPointAsync(SequenceControlPoint controlPoint)
_disappearingTokenSource.Token))
{
Sequence.ControlPoints.Remove(controlPoint);

// This hack is needed to rebuild the bindings properly in the listview
Sequence.ControlPoints = new ObservableCollection<SequenceControlPoint>(Sequence.ControlPoints);
}
}
catch (OperationCanceledException)
Expand Down

0 comments on commit a8bb42e

Please sign in to comment.