mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-30 03:51:14 +12:00
[BUG] Fix rare ArgumentOutOfRangeException TextBoxSearch_TextChanged (#327), version 1.2.7.0
This commit is contained in:
parent
411fc5ab07
commit
cd508b7584
|
@ -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.6.5")]
|
[assembly: AssemblyVersion("1.2.7.0")]
|
||||||
[assembly: AssemblyFileVersion("1.2.6.5")]
|
[assembly: AssemblyFileVersion("1.2.7.0")]
|
||||||
|
|
|
@ -886,7 +886,7 @@ namespace SystemTrayMenu.UserInterface
|
||||||
timerUpdateIcons.Start();
|
timerUpdateIcons.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isSearchStringEmpty)
|
if (isSearchStringEmpty && dgv.Rows.Count > 0)
|
||||||
{
|
{
|
||||||
dgv.FirstDisplayedScrollingRowIndex = 0;
|
dgv.FirstDisplayedScrollingRowIndex = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue