From 5e05adb365cf3a5388be780560ea44e1f56d9156 Mon Sep 17 00:00:00 2001 From: Matthew Waltz Date: Mon, 7 Oct 2024 06:57:13 -0600 Subject: [PATCH] fix slow keypad widget clicking --- gui/qt/keypad/keypadwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/qt/keypad/keypadwidget.cpp b/gui/qt/keypad/keypadwidget.cpp index 34d7e6d89..0ad0b9e0d 100644 --- a/gui/qt/keypad/keypadwidget.cpp +++ b/gui/qt/keypad/keypadwidget.cpp @@ -408,6 +408,7 @@ void KeypadWidget::mouseEvent(QMouseEvent *event) { return; } switch (event->type()) { + case QEvent::MouseButtonDblClick: case QEvent::MouseButtonPress: case QEvent::MouseMove: mouseUpdate(event->localPos()); @@ -513,6 +514,7 @@ void KeypadWidget::touchEvent(QTouchEvent *event) { bool KeypadWidget::event(QEvent *event) { switch (event->type()) { + case QEvent::MouseButtonDblClick: case QEvent::MouseButtonPress: case QEvent::MouseMove: case QEvent::MouseButtonRelease: