[GUI] Some fixes for asset list filtering

This commit is contained in:
VaDiM
2023-05-29 02:15:29 +03:00
parent 09947fd14f
commit f0c237473c
2 changed files with 5 additions and 3 deletions

View File

@ -657,7 +657,7 @@ namespace AssetStudioGUI
{
BeginInvoke(new Action(() =>
{
if (listSearch.Text != "")
if (listSearch.Text != "" && listSearch.Text != " Filter ")
{
if (listSearchHistory.Items.Count == listSearchHistory.MaxDropDownItems)
{
@ -1867,7 +1867,7 @@ namespace AssetStudioGUI
}
}
private void listSearchHistory_TextChanged(object sender, EventArgs e)
private void listSearchHistory_SelectedIndexChanged(object sender, EventArgs e)
{
listSearch.Text = listSearchHistory.Text;
listSearch.Focus();