Skip to content

Commit

Permalink
Fixed|Bindings: Failure to remove bindings of device
Browse files Browse the repository at this point in the history
When removing bindings of a specific input device, the wrong ID was used when searching for bindings to remove.

Issue #2307
  • Loading branch information
skyjake committed Dec 15, 2018
1 parent 4354ca7 commit ec9c822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/apps/client/src/ui/bindcontext.cpp
Expand Up @@ -309,7 +309,7 @@ void BindContext::clearBindingsForDevice(int deviceId)
{
if (bind.compiled().deviceId == deviceId)
{
ids.insert(deviceId);
ids.insert(bind.geti(VAR_ID));
}
return LoopContinue;
});
Expand Down

0 comments on commit ec9c822

Please sign in to comment.