1.1 --- a/Server/FormEditObject.cs Fri Aug 19 17:12:54 2016 +0200
1.2 +++ b/Server/FormEditObject.cs Fri Aug 19 19:18:54 2016 +0200
1.3 @@ -170,8 +170,10 @@
1.4 {
1.5 ComboBox ctrl = (ComboBox)aControl;
1.6 string currentItem = ctrl.SelectedItem.ToString();
1.7 - PropertyComboBox pcb = (PropertyComboBox)aInfo.GetValue(aObject);
1.8 - pcb.CurrentItem = currentItem;
1.9 + PropertyComboBox value = (PropertyComboBox)aInfo.GetValue(aObject);
1.10 + value.CurrentItem = currentItem;
1.11 + //Not strictly needed but makes sure the set method is called
1.12 + aInfo.SetValue(aObject, value);
1.13 }
1.14
1.15 //TODO: add support for other types here