diff --git a/ShareX.HelpersLib/Controls/MyPictureBox.cs b/ShareX.HelpersLib/Controls/MyPictureBox.cs index 69a00d18a..8d28c3770 100644 --- a/ShareX.HelpersLib/Controls/MyPictureBox.cs +++ b/ShareX.HelpersLib/Controls/MyPictureBox.cs @@ -301,7 +301,17 @@ private void LoadImageAsync(string path) isImageLoading = true; Text = Resources.MyPictureBox_LoadImageAsync_Loading_image___; lblStatus.Visible = true; - pbMain.LoadAsync(path); + + try + { + pbMain.LoadAsync(path); + } + catch + { + lblStatus.Visible = false; + isImageLoading = false; + Reset(); + } } } }