mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-24 23:11:31 -06:00
Hotfix for Category Expansion during search
This commit is contained in:
parent
ba968d0cb3
commit
2d0e68c90f
@ -213,6 +213,8 @@ function Invoke-WPFUIApps {
|
|||||||
$categoryPanel.Cursor = [System.Windows.Input.Cursors]::Hand
|
$categoryPanel.Cursor = [System.Windows.Input.Cursors]::Hand
|
||||||
|
|
||||||
$categoryPanel.Add_MouseUp({
|
$categoryPanel.Add_MouseUp({
|
||||||
|
# Clear the search bar when a category is clicked
|
||||||
|
$sync.SearchBar.Text = ""
|
||||||
Toggle-CategoryVisibility -Category $this.Children[1].Text -ItemsControl $this.Parent
|
Toggle-CategoryVisibility -Category $this.Children[1].Text -ItemsControl $this.Parent
|
||||||
})
|
})
|
||||||
$null = $ItemsControl.Items.Add($categoryPanel)
|
$null = $ItemsControl.Items.Add($categoryPanel)
|
||||||
|
Loading…
Reference in New Issue
Block a user