Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9491 from DacodaDragon/master
Fix mapping window title bar becoming unresponsive
  • Loading branch information
jordan-woyak committed Feb 4, 2021
2 parents b6e9cca + 8a3fe6e commit abc5d6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/DolphinQt/Config/Mapping/MappingCommon.cpp
Expand Up @@ -88,6 +88,8 @@ QString DetectExpression(QPushButton* button, ciface::Core::DeviceContainer& dev

const auto timer = new QTimer(button);

timer->setSingleShot(true);

button->connect(timer, &QTimer::timeout, [button, filter] {
button->releaseMouse();
button->releaseKeyboard();
Expand Down

0 comments on commit abc5d6c

Please sign in to comment.