mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-27 18:40:32 +12:00
[BUG] Fix ArgumentOutOfRangeException (#127)
This commit is contained in:
parent
c3fa2cf404
commit
55324c8a58
|
@ -95,6 +95,8 @@ namespace SystemTrayMenu.Handler
|
|||
}
|
||||
|
||||
internal void ClickOpensInstantly(DataGridView dgv, int rowIndex)
|
||||
{
|
||||
if (dgv.Rows.Count > rowIndex)
|
||||
{
|
||||
timerStartLoad.Stop();
|
||||
StopLoadMenu?.Invoke();
|
||||
|
@ -103,6 +105,7 @@ namespace SystemTrayMenu.Handler
|
|||
checkForMouseActive = false;
|
||||
CallOpenMenuNow();
|
||||
}
|
||||
}
|
||||
|
||||
internal void EnterOpensInstantly(DataGridView dgv, int rowIndex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue