mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix build
This commit is contained in:
parent
6c637dd8e6
commit
0662ad49dd
@ -449,7 +449,7 @@ std::shared_ptr<CIntObject> InterfaceObjectConfigurable::buildWidget(JsonNode co
|
||||
|
||||
void InterfaceObjectConfigurable::setShortcutBlocked(EShortcut shortcut, bool isBlocked)
|
||||
{
|
||||
auto target = shortcuts.find(key);
|
||||
auto target = shortcuts.find(shortcut);
|
||||
if (target == shortcuts.end())
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user