forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user