mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an issue where an extra game image could be shown for legacy themes.
This commit is contained in:
parent
f2c708bf79
commit
db05fb3800
|
@ -387,7 +387,6 @@ void GamelistView::legacyUpdateInfoPanel()
|
|||
mRandomGame->getThumbnailPath());
|
||||
mImageComponents[LegacyImage::MD_MARQUEE]->setImage(mRandomGame->getMarqueePath(),
|
||||
false, true);
|
||||
mImageComponents[LegacyImage::MD_IMAGE]->setImage(mRandomGame->getImagePath());
|
||||
if (mViewStyle == ViewController::VIDEO) {
|
||||
mVideoComponents.front()->setImage(mRandomGame->getImagePath());
|
||||
// Always stop the video before setting a new video as it will otherwise
|
||||
|
@ -400,6 +399,9 @@ void GamelistView::legacyUpdateInfoPanel()
|
|||
if (!mVideoComponents.front()->setVideo(mRandomGame->getVideoPath()))
|
||||
mVideoComponents.front()->setDefaultVideo();
|
||||
}
|
||||
else {
|
||||
mImageComponents[LegacyImage::MD_IMAGE]->setImage(mRandomGame->getImagePath());
|
||||
}
|
||||
}
|
||||
else {
|
||||
mImageComponents[LegacyImage::MD_THUMBNAIL]->setImage("");
|
||||
|
|
Loading…
Reference in a new issue