fix algo popup bindings in LadderView after merge

This commit is contained in:
John Colvin committed 2018-12-18 13:28:16 -06:00
1 parent 6b994a0fdc
commit dd82c92a0c
1 file changed
+4 -4
@@ -422,10 +422,10 @@
DataContext="{Binding order_properties_vm}"
Margin="2"
ExpandDirection="Left"
HasEditableProperties="{Binding selected_order_type.has_editable_properties, FallbackValue=False}"
IsOpen="{Binding selected_order_type.editable_properties_open, FallbackValue=False}"
ItemsSource="{Binding order_types}"
SelectedItem="{Binding selected_order_type}"
HasEditableProperties="{Binding has_editable_properties}"
IsOpen="{Binding editable_properties_open}"
ItemsSource="{Binding algo_definitions_view}"
SelectedItem="{Binding selected_algo_definition}"
Visibility="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}},
Path = DataContext.show_order_type,
Converter={StaticResource BooleanToVisibilityConverter}}"