Skip to content

Commit 64767d4

Browse files
committed
little fix
1 parent 1894ab8 commit 64767d4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/UniGetUI/Controls/SettingsWidgets/SecureCheckboxCard.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ public virtual string SettingName
2222
{
2323
set
2424
{
25+
_checkbox.IsEnabled = false;
2526
setting_name = value;
2627
IS_INVERTED = value.StartsWith("Disable");
2728
_checkbox.IsOn = SecureSettings.Get(setting_name) ^ IS_INVERTED ^ ForceInversion;
2829
_textblock.Opacity = _checkbox.IsOn ? 1 : 0.7;
30+
_checkbox.IsEnabled = true;
2931
}
3032
}
3133

0 commit comments

Comments
 (0)