diff --git a/Business/Menus.cs b/Business/Menus.cs index 2b24424..285c25e 100644 --- a/Business/Menus.cs +++ b/Business/Menus.cs @@ -1081,7 +1081,7 @@ namespace SystemTrayMenu.Business } Menu menu = (Menu)((DataGridView)sender).FindForm(); - if (menu.ScrollbarVisible) + if (menu != null && menu.ScrollbarVisible) { isDraggingSwipeScrolling = true; dragSwipeScrollingStartRowIndex = GetRowUnderCursor(dgv, e.Location); diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 2d08ada..0189e97 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.1.0")] -[assembly: AssemblyFileVersion("1.2.1.0")] +[assembly: AssemblyVersion("1.2.1.1")] +[assembly: AssemblyFileVersion("1.2.1.1")]