[Feature] item starts with searchstring, sort it on top (#99), version 1.0.17.15

This commit is contained in:
Markus Hofknecht 2021-04-16 23:14:39 +02:00
parent c1beb9ffa9
commit 83a9d29da2
2 changed files with 8 additions and 2 deletions

View file

@ -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.0.17.14")]
[assembly: AssemblyFileVersion("1.0.17.14")]
[assembly: AssemblyVersion("1.0.17.15")]
[assembly: AssemblyFileVersion("1.0.17.15")]

View file

@ -641,6 +641,12 @@ namespace SystemTrayMenu.UserInterface
data.DefaultView.Sort = columnSortIndex;
}
foreach (DataGridViewRow row in dgv.Rows)
{
RowData rowData = (RowData)row.Cells[2].Value;
rowData.RowIndex = row.Index;
}
SearchTextChanged.Invoke(this, null);
}
}