From 3fda1ae6d1a69d4b6bcfa8dd7aee8f9a0284461b Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sat, 24 Jul 2021 17:20:30 -0400 Subject: [PATCH] SelectedValue is the *actual value* associated with the choice, not the ChoiceSettingValue representing the choice --- MBS.Framework/Settings/ChoiceSetting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MBS.Framework/Settings/ChoiceSetting.cs b/MBS.Framework/Settings/ChoiceSetting.cs index 0adbfd3..d5917d9 100644 --- a/MBS.Framework/Settings/ChoiceSetting.cs +++ b/MBS.Framework/Settings/ChoiceSetting.cs @@ -77,7 +77,7 @@ namespace MBS.Framework.Settings } public ChoiceSettingValue.ChoiceSettingValueCollection ValidValues { get; } = new ChoiceSettingValue.ChoiceSettingValueCollection(); - public ChoiceSettingValue SelectedValue { get; set; } = null; + public object SelectedValue { get; set; } = null; public bool RequireSelectionFromList { get; set; } = true; public bool MultipleSelect { get; set; } = false;