1
0
mirror of https://github.com/ChrisTitusTech/winutil.git synced 2025-04-04 18:22:09 +00:00
This commit is contained in:
MyDrift 2025-03-19 14:32:32 -05:00 committed by GitHub
commit 201db1787b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,9 @@ function Initialize-InstallAppEntry {
$border.Tag = $Appkey $border.Tag = $Appkey
$border.ToolTip = $App.description $border.ToolTip = $App.description
$border.Add_MouseUp({ $border.Add_MouseUp({
if ($_.ChangedButton -eq [System.Windows.Input.MouseButton]::Right) {
Invoke-WPFPresets -imported $true -checkboxfilterpattern "WPFInstall*";
}
$childCheckbox = ($this.Child.Children | Where-Object {$_.Template.TargetType -eq [System.Windows.Controls.Checkbox]})[0] $childCheckbox = ($this.Child.Children | Where-Object {$_.Template.TargetType -eq [System.Windows.Controls.Checkbox]})[0]
$childCheckBox.isChecked = -not $childCheckbox.IsChecked $childCheckBox.isChecked = -not $childCheckbox.IsChecked
}) })