mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #9491 from DacodaDragon/master
Fix mapping window title bar becoming unresponsive
This commit is contained in:
commit
abc5d6c0d2
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ QString DetectExpression(QPushButton* button, ciface::Core::DeviceContainer& dev
|
||||||
|
|
||||||
const auto timer = new QTimer(button);
|
const auto timer = new QTimer(button);
|
||||||
|
|
||||||
|
timer->setSingleShot(true);
|
||||||
|
|
||||||
button->connect(timer, &QTimer::timeout, [button, filter] {
|
button->connect(timer, &QTimer::timeout, [button, filter] {
|
||||||
button->releaseMouse();
|
button->releaseMouse();
|
||||||
button->releaseKeyboard();
|
button->releaseKeyboard();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue