Skip to content

Commit 288a823

Browse files
vicoczVit Nemecky
andauthored
Remove binding hack in order to properly control points (#40)
Co-authored-by: Vit Nemecky <vico@centrum.cz>
1 parent c8a3946 commit 288a823

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

BrickController2/BrickController2/UI/ViewModels/SequenceEditorPageViewModel.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,6 @@ private async Task DeleteControlPointAsync(SequenceControlPoint controlPoint)
202202
_disappearingTokenSource.Token))
203203
{
204204
Sequence.ControlPoints.Remove(controlPoint);
205-
206-
// This hack is needed to rebuild the bindings properly in the listview
207-
Sequence.ControlPoints = new ObservableCollection<SequenceControlPoint>(Sequence.ControlPoints);
208205
}
209206
}
210207
catch (OperationCanceledException)

0 commit comments

Comments
 (0)