diff options
| author | 2015-08-31 19:24:36 -0700 | |
|---|---|---|
| committer | 2015-08-31 19:24:36 -0700 | |
| commit | a1c023bee08b65e9d9274a1b8214234a5edf61bf (patch) | |
| tree | 5223cfefbb54632feadb807f530f59da9e0df2dd /qt-ui | |
| parent | 5670b5feddb8a5dd7805c41ac1e278815e685602 (diff) | |
| download | subsurface-a1c023bee08b65e9d9274a1b8214234a5edf61bf.tar.gz | |
Event filters need to tell the caller if they took the event
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
| -rw-r--r-- | qt-ui/locationinformation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |