File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 481481 DataContext =" {Binding SelectedItem, ElementName=ResultListBox}"
482482 Style =" {DynamicResource PreviewBorderStyle}"
483483 Visibility =" {Binding ShowCustomizedPreview}" >
484- <ContentControl Content =" {Binding Result.PreviewPanel.Value }" />
484+ <ContentControl Content =" {Binding CustomPreviewPanel }" />
485485 </Border >
486486 </Grid >
487487 </Grid >
Original file line number Diff line number Diff line change @@ -216,10 +216,13 @@ private async Task LoadPreviewImageAsync()
216216
217217 public void LoadPreviewImage ( )
218218 {
219- if ( ! PreviewImageLoaded && ShowIcon == Visibility . Visible )
219+ if ( ShowDefaultPreview == Visibility . Visible )
220220 {
221- PreviewImageLoaded = true ;
222- _ = LoadPreviewImageAsync ( ) ;
221+ if ( ! PreviewImageLoaded && ShowIcon == Visibility . Visible )
222+ {
223+ PreviewImageLoaded = true ;
224+ _ = LoadPreviewImageAsync ( ) ;
225+ }
223226 }
224227 }
225228
You can’t perform that action at this time.
0 commit comments