Event filters need to tell the caller if they took the event
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5670b5fedd
commit
a1c023bee0
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user