Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions MaterialDesignThemes.Wpf/DataGridAssist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ private static void AllowDirectEditWithoutFocus(object sender, MouseButtonEventA
{
return;
}
if (dataGridCell.IsEditing)
{
// If the cell is already being edited, we let the cell itself handle the mouse event
return;
}

dataGrid.CurrentCell = new DataGridCellInfo(dataGridCell);
dataGrid.BeginEdit();
Expand Down