AdministrationWindow: Fix default value change check
This commit is contained in:
1 parent
effc9f9230
commit
56a0eb794e
3 files changed
+8
-8
No files matched your search
@@ -212,9 +212,9 @@ namespace Elwig.Helpers {
|
||||
} else if (input is Xceed.Wpf.Toolkit.CheckComboBox ccb) {
|
||||
return ccb.SelectedItems.Cast<object>().ToArray();
|
||||
} else if (input is CheckBox cb) {
|
||||
return cb.IsChecked;
|
||||
return (cb.IsChecked != null ? (cb.IsChecked == true ? bool.TrueString : bool.FalseString) : null);
|
||||
} else if (input is RadioButton rb) {
|
||||
return rb.IsChecked;
|
||||
return (rb.IsChecked != null ? (rb.IsChecked == true ? bool.TrueString : bool.FalseString) : null);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user