Commit 726ed761 authored by Mike Kremer's avatar Mike Kremer
Browse files

Set focus to active examiner before showing the context menu.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9d06d66e
......@@ -1306,6 +1306,9 @@ void glViewer::releaseGLArea()
void glViewer::contextMenuEvent(QGraphicsSceneContextMenuEvent* _e)
emit signalMakeActive();
glScene_->update ();
QPoint p (_e->pos().x(), _e->pos().y());
emit signalCustomContextMenuRequested (p);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment