Skip to content

Commit

Permalink
Don't duplicate setting selection mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Richardson committed Apr 15, 2024
1 parent 7953a2d commit 5453569
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Eto.Gtk/Forms/Controls/GridHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,10 @@ private void SetSelectionMode(bool allowEmptySelection, bool allowMultipleSelect
Control.Selection.SelectPath(cursorRowPath);
}
}
Control.Selection.Mode = newMode;
else
{
Control.Selection.Mode = newMode;
}
}
}

Expand Down

0 comments on commit 5453569

Please sign in to comment.