X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ViewWindow.cpp;h=5a1a9ba4097ed64aeef7c13082fce24c09e0f8ae;hb=25df988cd1b0b85f45355f2c21c2642cd0ea1d74;hp=bff1e923f5451a5e8226e17ee41cc45be1f5c4da;hpb=58ff265b6b8337f8abc841ed78923a19c0565c66;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ViewWindow.cpp b/src/XGUI/XGUI_ViewWindow.cpp index bff1e923f..5a1a9ba40 100644 --- a/src/XGUI/XGUI_ViewWindow.cpp +++ b/src/XGUI/XGUI_ViewWindow.cpp @@ -680,7 +680,8 @@ void XGUI_ViewWindow::vpMousePressEvent(QMouseEvent* theEvent) void XGUI_ViewWindow::contextMenuEvent(QContextMenuEvent* theEvent) { if (theEvent->modifiers() == Qt::NoModifier) { - QFrame::contextMenuEvent(theEvent); + // Temporary: has to be removed when viewer popup will be defined + //QFrame::contextMenuEvent(theEvent); emit contextMenuRequested(theEvent); } }