mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-29 16:51:18 +13:00
[BUG] Fix NullReferenceException Dgv_MouseDown (#288), version 1.2.1.1
This commit is contained in:
parent
0511468757
commit
5533a2d749
2 changed files with 3 additions and 3 deletions
|
@ -1081,7 +1081,7 @@ namespace SystemTrayMenu.Business
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu menu = (Menu)((DataGridView)sender).FindForm();
|
Menu menu = (Menu)((DataGridView)sender).FindForm();
|
||||||
if (menu.ScrollbarVisible)
|
if (menu != null && menu.ScrollbarVisible)
|
||||||
{
|
{
|
||||||
isDraggingSwipeScrolling = true;
|
isDraggingSwipeScrolling = true;
|
||||||
dragSwipeScrollingStartRowIndex = GetRowUnderCursor(dgv, e.Location);
|
dragSwipeScrollingStartRowIndex = GetRowUnderCursor(dgv, e.Location);
|
||||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.1.0")]
|
[assembly: AssemblyVersion("1.2.1.1")]
|
||||||
[assembly: AssemblyFileVersion("1.2.1.0")]
|
[assembly: AssemblyFileVersion("1.2.1.1")]
|
||||||
|
|
Loading…
Reference in a new issue