Skip to content

Commit a0d9c24

Browse files
[BugFix] fix the DataTemplate issue in KnowledgeBaseView
1 parent 1734cea commit a0d9c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/FinderOuter/Views/KnowledgeBaseView.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
<ListBox ItemsSource="{Binding KBList}"
1515
SelectedItem="{Binding SelectedKB}"
1616
Grid.Column="0">
17-
<ListBox.DataTemplates>
17+
<ListBox.ItemTemplate>
1818
<DataTemplate>
1919
<TextBlock Text="{Binding Description}"/>
2020
</DataTemplate>
21-
</ListBox.DataTemplates>
21+
</ListBox.ItemTemplate>
2222
</ListBox>
2323

2424
<StackPanel Orientation="Vertical" Spacing="3" Grid.Column="1">

0 commit comments

Comments
 (0)