don't forget to set the checkbox default value

This commit is contained in:
Michael Becker 2019-12-15 05:37:33 -05:00
parent 0d89b26fb6
commit 8c6c401664
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12

View File

@ -145,6 +145,7 @@ namespace UniversalEditor.UserInterface.Dialogs
CustomOptionBoolean option = (eo as CustomOptionBoolean);
CheckBox chk = new CheckBox();
chk.Checked = option.DefaultValue;
chk.Text = option.Title;
this.Controls.Add(chk, new GridLayout.Constraints(iRow, 0, 1, 2, ExpandMode.Horizontal));