mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where the media viewer navigation sounds would sometimes not play.
This commit is contained in:
parent
65fea14a3c
commit
cc0b9fdf87
|
@ -273,6 +273,8 @@ void MediaViewer::showImage(int index)
|
||||||
if (mImage)
|
if (mImage)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
mDisplayingImage = true;
|
||||||
|
|
||||||
if (!mImageFiles.empty() && mImageFiles.size() >= index) {
|
if (!mImageFiles.empty() && mImageFiles.size() >= index) {
|
||||||
mImage = new ImageComponent(mWindow, false, false);
|
mImage = new ImageComponent(mWindow, false, false);
|
||||||
mImage->setImage(mImageFiles[index]);
|
mImage->setImage(mImageFiles[index]);
|
||||||
|
|
Loading…
Reference in a new issue