Fixed #30 - Updating a section title does not update the Section Browser

This commit is contained in:
Ben Wallis 2016-09-01 21:02:38 +01:00
parent af08cdfed6
commit 67685d9eac
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ namespace Filtration.ViewModels
bool IsExpanded { get; set; } bool IsExpanded { get; set; }
IItemFilterBlock Block { get; } IItemFilterBlock Block { get; }
bool BlockEnabled { get; set; } bool BlockEnabled { get; set; }
string BlockDescription { get; set; }
void RefreshBlockPreview(); void RefreshBlockPreview();
} }

View File

@ -21,7 +21,7 @@
</ListBox.Resources> </ListBox.Resources>
<ListBox.ItemTemplate> <ListBox.ItemTemplate>
<DataTemplate> <DataTemplate>
<TextBlock Text="{Binding Block.Description, Converter={StaticResource HashSignRemovalConverter}}" ToolTip="{Binding Block.Description}" /> <TextBlock Text="{Binding BlockDescription, Converter={StaticResource HashSignRemovalConverter}}" ToolTip="{Binding BlockDescription}" />
</DataTemplate> </DataTemplate>
</ListBox.ItemTemplate> </ListBox.ItemTemplate>
</ListBox> </ListBox>