]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
IPAL21925 WinTC5.1.4: "View operations" popup appears in Plot2D after closing Settin...
authordmv <dmv@opencascade.com>
Fri, 10 Sep 2010 13:08:41 +0000 (13:08 +0000)
committerdmv <dmv@opencascade.com>
Fri, 10 Sep 2010 13:08:41 +0000 (13:08 +0000)
src/Plot2d/Plot2d_ViewFrame.cxx

index b2fc5e26e5f661ba80b16dd3adaf8549435c0bba..a98dac1ba042e5590b792cd95235b85ccd72792d 100755 (executable)
@@ -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 ) ) {