Fix mapping window title bar becoming unresponsive

This commit is contained in:
Errorcodebin 2021-02-04 14:32:03 +01:00
parent b6e9cca64f
commit 8a3fe6e24a

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