diff --git a/es-app/src/MediaViewer.cpp b/es-app/src/MediaViewer.cpp index 452673749..e58b2fd09 100644 --- a/es-app/src/MediaViewer.cpp +++ b/es-app/src/MediaViewer.cpp @@ -273,6 +273,8 @@ void MediaViewer::showImage(int index) if (mImage) return; + mDisplayingImage = true; + if (!mImageFiles.empty() && mImageFiles.size() >= index) { mImage = new ImageComponent(mWindow, false, false); mImage->setImage(mImageFiles[index]);