From a1c023bee08b65e9d9274a1b8214234a5edf61bf Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 31 Aug 2015 19:24:36 -0700 Subject: [PATCH] Event filters need to tell the caller if they took the event Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index cb45726cb..dbc22b178 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -60,8 +60,10 @@ bool LocationInformationWidget::eventFilter(QObject*, QEvent *ev) QMenu contextMenu; contextMenu.addAction(tr("Merge dive Sites"), this, SLOT(mergeSelectedDiveSites())); contextMenu.exec(ctx->globalPos()); + return true; } } + return false; } void LocationInformationWidget::mergeSelectedDiveSites() {