Merge pull request #9491 from DacodaDragon/master

Fix mapping window title bar becoming unresponsive
This commit is contained in:
Jordan Woyak 2021-02-04 17:23:42 -06:00 committed by GitHub
commit abc5d6c0d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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();