mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
The HelpComponent icon cache is now cleared when pressing ctrl-r
This commit is contained in:
parent
76423107ad
commit
da11140626
|
@ -513,6 +513,7 @@ bool GamelistBase::input(InputConfig* config, Input input)
|
|||
(SDL_GetModState() & (KMOD_LCTRL | KMOD_RCTRL)) && input.id == SDLK_r &&
|
||||
input.value != 0) {
|
||||
LOG(LogDebug) << "GamelistView::input(): Reloading view";
|
||||
mWindow->clearHelpPromptsImageCache();
|
||||
ViewController::getInstance()->reloadGamelistView(this->mRoot->getSystem(), true);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -112,6 +112,7 @@ bool SystemView::input(InputConfig* config, Input input)
|
|||
if (config->getDeviceId() == DEVICE_KEYBOARD && input.value && input.id == SDLK_r &&
|
||||
SDL_GetModState() & KMOD_LCTRL && Settings::getInstance()->getBool("Debug")) {
|
||||
LOG(LogDebug) << "SystemView::input(): Reloading all";
|
||||
mWindow->clearHelpPromptsImageCache();
|
||||
TextureResource::manualUnloadAll();
|
||||
ViewController::getInstance()->reloadAll();
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue