mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-26 00:05:39 +00:00
Minor changes to the log output when reloading views manually in debug mode.
This commit is contained in:
parent
3355d6f208
commit
d9c7932f0d
es-app/src/views
|
@ -191,7 +191,7 @@ bool SystemView::input(InputConfig* config, Input input)
|
||||||
if (input.value != 0) {
|
if (input.value != 0) {
|
||||||
if (config->getDeviceId() == DEVICE_KEYBOARD && input.value && input.id == SDLK_r &&
|
if (config->getDeviceId() == DEVICE_KEYBOARD && input.value && input.id == SDLK_r &&
|
||||||
SDL_GetModState() & KMOD_LCTRL && Settings::getInstance()->getBool("Debug")) {
|
SDL_GetModState() & KMOD_LCTRL && Settings::getInstance()->getBool("Debug")) {
|
||||||
LOG(LogInfo) << "Reloading all";
|
LOG(LogDebug) << "SystemView::input(): Reloading all";
|
||||||
ViewController::get()->reloadAll();
|
ViewController::get()->reloadAll();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ bool IGameListView::input(InputConfig* config, Input input)
|
||||||
config->getDeviceId() == DEVICE_KEYBOARD &&
|
config->getDeviceId() == DEVICE_KEYBOARD &&
|
||||||
(SDL_GetModState() & (KMOD_LCTRL | KMOD_RCTRL)) &&
|
(SDL_GetModState() & (KMOD_LCTRL | KMOD_RCTRL)) &&
|
||||||
input.id == SDLK_r && input.value != 0) {
|
input.id == SDLK_r && input.value != 0) {
|
||||||
LOG(LogDebug) << "reloading view";
|
LOG(LogDebug) << "IGameListView::input(): Reloading view";
|
||||||
ViewController::get()->reloadGameListView(this, true);
|
ViewController::get()->reloadGameListView(this, true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue