Browse Source

Fix DataGrid selection broken after 3 right clicks

pull/6948/head
Foaltin Dorin 5 years ago
parent
commit
ae48a9a13b
  1. 1
      src/Avalonia.Controls.DataGrid/DataGrid.cs

1
src/Avalonia.Controls.DataGrid/DataGrid.cs

@ -5751,6 +5751,7 @@ namespace Avalonia.Controls
return true;
}
// Unselect everything except the row that was clicked on
_noSelectionChangeCount++;
try
{
UpdateSelectionAndCurrency(columnIndex, slot, DataGridSelectionAction.SelectCurrent, scrollIntoView: false);

Loading…
Cancel
Save