don't forget to set the checkbox default value
This commit is contained in:
parent
0d89b26fb6
commit
8c6c401664
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user