more bugfixes

This commit is contained in:
Bitl 2021-08-30 17:06:35 -07:00
parent 59c689b9a2
commit 59c7480e4c
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public partial class XMLContentEditor : Form
//http://csharp.net-informations.com/datagridview/deletegridview.htm
private void XMLView_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
if (e.Button == MouseButtons.Right && !XMLView.CurrentCell.IsInEditMode)
{
XMLView.Rows[e.RowIndex].Selected = true;
rowIndex = e.RowIndex;