Skip to content

Commit

Permalink
Fix Check for updates button greyed out on launch (fix #3091)
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Feb 4, 2025
1 parent 5ba1a32 commit 9bd3216
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/UniGetUI/Controls/SettingsWidgets/CheckboxButtonCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ public string ButtonText
private bool _buttonAlwaysOn;
public bool ButtonAlwaysOn
{
set => _buttonAlwaysOn = value;
set
{
_buttonAlwaysOn = value;
Button.IsEnabled = (CheckBox.IsChecked ?? false) || _buttonAlwaysOn ;
}
}

public CheckboxButtonCard()
Expand Down

0 comments on commit 9bd3216

Please sign in to comment.