PowerControl: Do not show Colors if not available

This commit is contained in:
Kamil Trzciński 2023-12-14 19:05:50 +01:00
parent 72a4334ccf
commit 44cdaef37c

View file

@ -12,7 +12,7 @@ namespace PowerControl.Options
Options = Enum.GetNames<DCE.Mode>(),
CurrentValue = delegate ()
{
return DCE.Current.ToString();
return DCE.Current?.ToString();
},
ApplyValue = (selected) =>
{