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; }
IItemFilterBlock Block { get; }
bool BlockEnabled { get; set; }
string BlockDescription { get; set; }
void RefreshBlockPreview();
}

View File

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