Browse Source

Merge pull request #4190 from AvaloniaUI/fixes/selectionmodel-unused-code

Removed unused call to IsSelectedWithPartialAt in SelectionModel
pull/4191/head
Dariusz Komosiński 6 years ago
committed by GitHub
parent
commit
c90c5f06e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Controls/SelectionModel.cs

2
src/Avalonia.Controls/SelectionModel.cs

@ -189,8 +189,6 @@ namespace Avalonia.Controls
}
set
{
var isSelected = IsSelectedWithPartialAt(value);
if (!IsSelectedAt(value) || SelectedItems.Count > 1)
{
using var operation = new Operation(this);

Loading…
Cancel
Save