mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Fixed an issue where the slideshow screensaver with a single custom image would hang the application.
This commit is contained in:
parent
d7e46205c1
commit
37e2564ff7
|
@ -141,6 +141,7 @@ v1.2 maintenance release.
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
|
||||||
|
* Using a custom image directory for the slideshow screensaver would hang the application if there was only a single image
|
||||||
* Navigating the list of alternative emulators would sometimes lead to an incorrect row positioning
|
* Navigating the list of alternative emulators would sometimes lead to an incorrect row positioning
|
||||||
|
|
||||||
## Version 1.2.2
|
## Version 1.2.2
|
||||||
|
|
|
@ -570,7 +570,7 @@ void Screensaver::pickRandomCustomImage(std::string& path)
|
||||||
if (mImageCustomFiles.size() == 0)
|
if (mImageCustomFiles.size() == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (mVideoFiles.size() == 1) {
|
if (mImageCustomFiles.size() == 1) {
|
||||||
mPreviousCustomImage = mImageCustomFiles.front();
|
mPreviousCustomImage = mImageCustomFiles.front();
|
||||||
path = mImageCustomFiles.front();
|
path = mImageCustomFiles.front();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue