mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
[GUI] Some fixes for asset list filtering
This commit is contained in:
parent
09947fd14f
commit
f0c237473c
4
AssetStudioGUI/AssetStudioGUIForm.Designer.cs
generated
4
AssetStudioGUI/AssetStudioGUIForm.Designer.cs
generated
@ -723,7 +723,9 @@
|
||||
this.listSearchHistory.Size = new System.Drawing.Size(351, 21);
|
||||
this.listSearchHistory.TabIndex = 2;
|
||||
this.listSearchHistory.TabStop = false;
|
||||
this.listSearchHistory.TextChanged += new System.EventHandler(this.listSearchHistory_TextChanged);
|
||||
this.listSearchHistory.SelectedIndexChanged += new System.EventHandler(this.listSearchHistory_SelectedIndexChanged);
|
||||
this.listSearchHistory.Enter += new System.EventHandler(this.listSearch_Enter);
|
||||
this.listSearchHistory.Leave += new System.EventHandler(this.listSearch_Leave);
|
||||
//
|
||||
// listSearchFilterMode
|
||||
//
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user