fixed a bug of ImageBrowser

This commit is contained in:
NaBian committed 2019-05-22 22:27:00 +08:00
1 parent 86b634e85c
commit 084cd55af6
2 files changed
+19 -10

No files matched your search

@@ -58,6 +58,7 @@ namespace HandyControl.Controls
{
_imageViewer.ImageSource = BitmapFrame.Create(uri);
_imageViewer.ImgPath = uri.AbsolutePath;
if (File.Exists(_imageViewer.ImgPath))
{
var info = new FileInfo(_imageViewer.ImgPath);