Markus Hofknecht 2019-07-06 16:47:08 +02:00
parent 7d8077d653
commit 0f0aff4682
2 changed files with 27 additions and 10 deletions

View file

@ -31,5 +31,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("0.9.1.235")] [assembly: AssemblyVersion("0.9.1.236")]
[assembly: AssemblyFileVersion("0.9.1.235")] [assembly: AssemblyFileVersion("0.9.1.236")]

View file

@ -934,14 +934,31 @@ namespace SystemTrayMenu
MenusFadeOut(); MenusFadeOut();
break; break;
default: default:
if (!string.IsNullOrEmpty(keyInput) && if (!string.IsNullOrEmpty(keyInput))
(SelectMatched(dgv, iRowKey, keyInput) || {
SelectMatched(dgv, 0, keyInput))) if (SelectMatched(dgv, iRowKey, keyInput) ||
{ SelectMatched(dgv, 0, keyInput))
FadeInIfNeeded(); {
CheckMenuOpenerStop(iMenuBefore, iRowBefore); FadeInIfNeeded();
CheckMenuOpenerStart(dgv, iRowKey); CheckMenuOpenerStop(iMenuBefore, iRowBefore);
toClear = true; CheckMenuOpenerStart(dgv, iRowKey);
toClear = true;
}
else if (isStillSelected)
{
iRowKey = iRowBefore - 1;
if (SelectMatched(dgv, iRowKey, keyInput) ||
SelectMatched(dgv, 0, keyInput))
{
FadeInIfNeeded();
CheckMenuOpenerStop(iMenuBefore, iRowBefore);
CheckMenuOpenerStart(dgv, iRowKey);
}
else
{
iRowKey = iRowBefore;
}
}
} }
break; break;
} }