Skip to content

Commit

Permalink
修复队列发送发送模式默认未选择的BUG
Browse files Browse the repository at this point in the history
优化双击修改发送队列,在手动和使能列双击不响应。
  • Loading branch information
mcuxmx committed May 11, 2019
1 parent 0289397 commit e5dd74e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion SerialDebug/FormQueueSend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ private void dgvSendList_CellMouseDoubleClick(object sender, DataGridViewCellMou
return;
}

if (e.RowIndex >= dgvSendList.RowCount)
if (e.RowIndex >= dgvSendList.RowCount ||
e.ColumnIndex == 1 || e.ColumnIndex == 2) // 发送列和使能列不允许双击操作
{
return;
}
Expand Down
4 changes: 2 additions & 2 deletions SerialDebug/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// 内部版本号
// 修订号
//
[assembly: AssemblyVersion("4.2.1.0")]
[assembly: AssemblyFileVersion("4.2.1.0")]
[assembly: AssemblyVersion("4.2.2.0")]
[assembly: AssemblyFileVersion("4.2.2.0")]
Binary file modified SerialDebug/bin/Debug/SerialDebug.exe
Binary file not shown.

0 comments on commit e5dd74e

Please sign in to comment.