Fixed #28 - Add appearance block item links firing wrong command

This commit is contained in:
Ben Wallis
2016-08-30 22:53:17 +01:00
parent 85f47ce654
commit 80b8318574
2 changed files with 7 additions and 2 deletions

View File

@@ -264,7 +264,7 @@
<ItemsControl.ItemTemplate>
<DataTemplate>
<TextBlock Margin="0,0,3,0">
<Hyperlink Command="{Binding ElementName=TopLevelGrid, Path=DataContext.AddBlockCommand}" CommandParameter="{Binding}">
<Hyperlink Command="{Binding ElementName=TopLevelGrid, Path=DataContext.AddFilterBlockItemCommand}" CommandParameter="{Binding}">
<TextBlock>+</TextBlock><TextBlock Text="{Binding Path=., Converter={StaticResource BlockItemTypeToStringConverter}}" />
</Hyperlink>
</TextBlock>