Debug views menu would show after using the text marker menu.

The right-click event that is handled by the extra text area for the
marker menu needs to be accepted, so it's not propagated further as a
context menu event.

Reviewed-by: Friedemann Kleint
This commit is contained in:
con
2011-04-27 09:25:16 +02:00
parent fc46f30020
commit a130ebf413

View File

@@ -4269,6 +4269,7 @@ void BaseTextEditorWidget::extraAreaMouseEvent(QMouseEvent *e)
if (!contextMenu->isEmpty())
contextMenu->exec(e->globalPos());
delete contextMenu;
e->accept();
}
} else if (d->extraAreaSelectionAnchorBlockNumber >= 0) {
QTextCursor selection = cursor;