mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-01 02:22:34 -05:00
reorder buttons & fix Togglebutton toggling if action not possible
- reorder getinstalled and clearselection - set togglebutton back if no app is selected
This commit is contained in:
@ -89,6 +89,7 @@ function Show-OnlyCheckedApps {
|
||||
# If no apps are selected, do not allow switching to show only selected
|
||||
if (($false -eq $sync.ShowOnlySelected) -and ($appKeys.Count -eq 0)) {
|
||||
Write-Host "No apps selected"
|
||||
$sync.wpfselectedfilter.IsChecked = $false
|
||||
return
|
||||
}
|
||||
$sync.ShowOnlySelected = -not $sync.ShowOnlySelected
|
||||
|
Reference in New Issue
Block a user