From 988d0d55daeac9c12861f33220ff68a143ca1daa Mon Sep 17 00:00:00 2001 From: JenneJ Date: Wed, 15 Jun 2016 11:29:39 +0200 Subject: [PATCH] jj fix default value for combobox --- app/DD-Record-Organiser/ClassControlCommands.vb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/DD-Record-Organiser/ClassControlCommands.vb b/app/DD-Record-Organiser/ClassControlCommands.vb index 4712520..8b4354d 100644 --- a/app/DD-Record-Organiser/ClassControlCommands.vb +++ b/app/DD-Record-Organiser/ClassControlCommands.vb @@ -226,9 +226,7 @@ DEFAULTVALUE = properties.DefaultValue ElseIf type = "CheckBox" Then DEFAULTVALUE = properties.DefaultValue - ElseIf type = "CheckBox" Then - DEFAULTVALUE = properties.DefaultValue - ElseIf type = "ComboBox" Then + ElseIf type = "CustomComboBox" Then DEFAULTVALUE = properties.DefaultValue ElseIf type = "DateEdit" Then DEFAULTVALUE = ClassConverter.ToDateTimePickerOptionsOrDefault(properties.DefaultValue)