From 87e0b30fb04eb83579dd4c0bd86c8fde48c7d62d Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 10 Sep 2010 13:08:41 +0000 Subject: [PATCH] IPAL21925 WinTC5.1.4: "View operations" popup appears in Plot2D after closing Settings dialog --- src/Plot2d/Plot2d_ViewFrame.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index b2fc5e26e..a98dac1ba 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -345,6 +345,9 @@ bool Plot2d_ViewFrame::eventFilter( QObject* watched, QEvent* e ) } break; } + case QEvent::ContextMenu: { + return true; // IPAL21925 Win TC5.1.4 Unexpected "View operations" Popup + } case QEvent::MouseButtonPress: { QMouseEvent* me = (QMouseEvent*)e; if ( me && ( me->buttons() != 0 || me->button() != 0 ) ) { -- 2.39.2