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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
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); |
|
|
|
|