mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
The cached gamelist background is now updated when using the metadata editor.
This commit is contained in:
parent
98d38b3b46
commit
d787f06c63
|
@ -386,6 +386,9 @@ void GuiMetaDataEd::save()
|
||||||
}
|
}
|
||||||
|
|
||||||
mScraperParams.system->onMetaDataSavePoint();
|
mScraperParams.system->onMetaDataSavePoint();
|
||||||
|
// Make sure that the cached background is updated to reflect any possible visible
|
||||||
|
// changes to the gamelist (e.g. the game name).
|
||||||
|
mWindow->invalidateCachedBackground();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GuiMetaDataEd::fetch()
|
void GuiMetaDataEd::fetch()
|
||||||
|
|
|
@ -4,9 +4,8 @@
|
||||||
// Window management, screensaver and help prompts.
|
// Window management, screensaver and help prompts.
|
||||||
//
|
//
|
||||||
|
|
||||||
#pragma once
|
|
||||||
#ifndef ES_CORE_WINDOW_H
|
#ifndef ES_CORE_WINDOW_H
|
||||||
#define ES_CORE_WInDOW_H
|
#define ES_CORE_WINDOW_H
|
||||||
|
|
||||||
#include "resources/TextureResource.h"
|
#include "resources/TextureResource.h"
|
||||||
#include "HelpPrompt.h"
|
#include "HelpPrompt.h"
|
||||||
|
@ -92,6 +91,8 @@ public:
|
||||||
void unsetLaunchedGame();
|
void unsetLaunchedGame();
|
||||||
bool getGameLaunchedState() { return mGameLaunchedState; };
|
bool getGameLaunchedState() { return mGameLaunchedState; };
|
||||||
|
|
||||||
|
void invalidateCachedBackground() { mCachedBackground = false; };
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void onSleep();
|
void onSleep();
|
||||||
void onWake();
|
void onWake();
|
||||||
|
|
Loading…
Reference in a new issue