diff --git a/src/Libraries/CoreNodeModelsWpf/NodeViewCustomizations/DSDropDownBase.cs b/src/Libraries/CoreNodeModelsWpf/NodeViewCustomizations/DSDropDownBase.cs index e6456345949..9bdb8bf9637 100644 --- a/src/Libraries/CoreNodeModelsWpf/NodeViewCustomizations/DSDropDownBase.cs +++ b/src/Libraries/CoreNodeModelsWpf/NodeViewCustomizations/DSDropDownBase.cs @@ -37,7 +37,6 @@ public void CustomizeView(DSDropDownBase model, NodeView nodeView) Grid.SetRow(comboBox, 0); comboBox.DropDownOpened += DropDownOpened; - comboBox.SelectionChanged += SelectionChanged; comboBox.DataContext = model; @@ -56,6 +55,8 @@ public void CustomizeView(DSDropDownBase model, NodeView nodeView) Source = model }; comboBox.SetBinding(Selector.SelectedIndexProperty, indexBinding); + + comboBox.SelectionChanged += SelectionChanged; } private void SelectionChanged(object sender, SelectionChangedEventArgs e)