1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00

Merge pull request #2168 from IvanSavenko/gui_handler_event_handling_refactoring

Event handling refactoring
This commit is contained in:
Ivan Savenko
2023-05-23 15:08:10 +03:00
committed by GitHub
59 changed files with 1647 additions and 1150 deletions

View File

@ -258,7 +258,7 @@ EShortcut InterfaceObjectConfigurable::readHotkey(const JsonNode & config) const
return EShortcut::NONE;
}
EShortcut result = GH.shortcutsHandler().findShortcut(config.String());
EShortcut result = GH.shortcuts().findShortcut(config.String());
if (result == EShortcut::NONE)
logGlobal->error("Invalid hotkey '%s' in interface configuration!", config.String());
return result;;