|
@@ -231,7 +231,14 @@ namespace PDF_Master.CustomControl.CompositeControl
|
|
control.combox.SelectedItems = (ComboDataItem)control.combox.SelectedItems;
|
|
control.combox.SelectedItems = (ComboDataItem)control.combox.SelectedItems;
|
|
|
|
|
|
}
|
|
}
|
|
- control.combox.UpdateSelectedIndex();
|
|
|
|
|
|
+ if(e.NewValue is int index)
|
|
|
|
+ {
|
|
|
|
+ if (index != -1)
|
|
|
|
+ {
|
|
|
|
+ control.combox.UpdateSelectedIndex();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|