Skip to content

Commit

Permalink
[GUI] Some fixes for asset list filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
aelurum committed May 29, 2023
1 parent 09947fd commit f0c2374
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion AssetStudioGUI/AssetStudioGUIForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions AssetStudioGUI/AssetStudioGUIForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ private void ListSearchHistoryAdd()
{
BeginInvoke(new Action(() =>
{
if (listSearch.Text != "")
if (listSearch.Text != "" && listSearch.Text != " Filter ")
{
if (listSearchHistory.Items.Count == listSearchHistory.MaxDropDownItems)
{
Expand Down Expand Up @@ -1867,7 +1867,7 @@ private void listSearchFilterMode_SelectedIndexChanged(object sender, EventArgs
}
}

private void listSearchHistory_TextChanged(object sender, EventArgs e)
private void listSearchHistory_SelectedIndexChanged(object sender, EventArgs e)
{
listSearch.Text = listSearchHistory.Text;
listSearch.Focus();
Expand Down

0 comments on commit f0c2374

Please sign in to comment.