Skip to content

Commit e1b75f4

Browse files
committed
Fix not displayed errors when not playing media.
Version upgrade
1 parent 7920967 commit e1b75f4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

QuickViewFile/QuickViewFile.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Nullable>enable</Nullable>
77
<ImplicitUsings>enable</ImplicitUsings>
88
<UseWPF>true</UseWPF>
9-
<Version>1.7.1.1</Version>
9+
<Version>1.7.1.2</Version>
1010
<ApplicationIcon>QuickViewFile.ico</ApplicationIcon>
1111
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
1212
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>

QuickViewFile/ViewModel/FilesListViewModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ await Task.Run(() =>
288288
catch (Exception ex)
289289
{
290290
SelectedItem.FileContentModel.TextContent = ex.Message;
291+
SelectedItem.FileContentModel.VideoMedia = null;
291292
SelectedItem.FileContentModel.ShowTextBox = true;
292293
SelectedItem.FileContentModel.ImageSource = null;
293294
SelectedItem.FileContentModel.IsLoaded = false;

0 commit comments

Comments
 (0)