Fixed corruption issue

This commit is contained in:
DogeAmazed 2017-12-16 16:06:47 +01:00
parent 77a360d73c
commit 350212a7be

View file

@ -331,7 +331,9 @@ private void MyPictureBox_MouseDown(object sender, MouseEventArgs e)
{ {
if (FullscreenOnClick && e.Button == MouseButtons.Left && IsValidImage) if (FullscreenOnClick && e.Button == MouseButtons.Left && IsValidImage)
{ {
pbMain.Enabled = false;
ImageViewer.ShowImage(Image); ImageViewer.ShowImage(Image);
pbMain.Enabled = true;
} }
} }