mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-24 06:51:30 -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.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 {
|
||||
if($sync.$psitem) {
|
||||
if($($sync["$psitem"].GetType() | Select-Object -ExpandProperty Name) -eq "ToggleButton") {
|
||||
|
Loading…
Reference in New Issue
Block a user