From ec1088f2ccf17312809cdee2b56f3de3c625b2f9 Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Sun, 19 Jan 2014 17:33:24 +0200 Subject: Ignore mouse wheel events on tags widget This prevents tags widgets (dive tags and buddy) from grabbing focus on mouse wheel events but allows entering dive edit mode on mouse click. It was attempted earlier by Dirk (commit d117beca), but edit mode did not work properly. Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/tagwidget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/tagwidget.h') diff --git a/qt-ui/tagwidget.h b/qt-ui/tagwidget.h index b9c1619f9..1f5cc2d3e 100644 --- a/qt-ui/tagwidget.h +++ b/qt-ui/tagwidget.h @@ -16,6 +16,7 @@ public: void setText(QString text); void clear(); void setCursorPosition(int position); + void wheelEvent(QWheelEvent *event); public slots: void reparse(); void completionSelected(QString); -- cgit v1.2.3-70-g09d2