mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
disable autofallback checkbox
This commit is contained in:
parent
e0e8daf4e2
commit
c46a7eaa40
@ -149,6 +149,12 @@ if (Test-Path $ChocoPreferencePath) {
|
|||||||
$sync.ChocoRadioButton.IsChecked = $true
|
$sync.ChocoRadioButton.IsChecked = $true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$sync.autofallback.IsEnabled = $false
|
||||||
|
$sync.autofallback.Opacity = 0.5
|
||||||
|
$sync.autofallback.ToolTip = "This feature is currently under development."
|
||||||
|
|
||||||
|
[System.Windows.Controls.ToolTipService]::SetShowOnDisabled($sync.autofallback, $true)
|
||||||
|
|
||||||
$sync.keys | ForEach-Object {
|
$sync.keys | ForEach-Object {
|
||||||
if($sync.$psitem) {
|
if($sync.$psitem) {
|
||||||
if($($sync["$psitem"].GetType() | Select-Object -ExpandProperty Name) -eq "ToggleButton") {
|
if($($sync["$psitem"].GetType() | Select-Object -ExpandProperty Name) -eq "ToggleButton") {
|
||||||
|
Loading…
Reference in New Issue
Block a user