From 545dda0a9887652942e6368da1be64a7ace3b441 Mon Sep 17 00:00:00 2001 From: SamGondelman Date: Tue, 7 Jun 2016 15:15:42 -0700 Subject: [PATCH] whoops --- libraries/controllers/src/controllers/UserInputMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/controllers/src/controllers/UserInputMapper.cpp b/libraries/controllers/src/controllers/UserInputMapper.cpp index 9132b9d3a5..9dbad89a9b 100755 --- a/libraries/controllers/src/controllers/UserInputMapper.cpp +++ b/libraries/controllers/src/controllers/UserInputMapper.cpp @@ -126,7 +126,7 @@ void UserInputMapper::removeDevice(int deviceID) { auto device = proxyEntry->second; qCDebug(controllers) << "Unregistering input device <" << device->getName() << "> deviceID = " << deviceID; - if (!_deviceCounts.contains(device->getName())) { + if (_deviceCounts.contains(device->getName())) { _deviceCounts[device->getName()] -= 1; }