diff options
author | con <qtc-committer@nokia.com> | 2011-04-27 09:25:16 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2011-04-27 09:25:16 +0200 |
commit | a130ebf4131f13c30206d01731c62c4f530a3e69 (patch) | |
tree | 60f9f2938259e9086da5f3652994647b90cf8f6f | |
parent | fc46f300201a98664f7dc403ac4a51e35e536e8d (diff) | |
download | qt-creator-a130ebf4131f13c30206d01731c62c4f530a3e69.tar.gz |
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
-rw-r--r-- | src/plugins/texteditor/basetexteditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index c66228a7e6..ef384da6df 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -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; |