]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PAL13020: EDF237: environment is freezed because of the IHM of Salome. Take into...
authorjfa <jfa@opencascade.com>
Wed, 9 Aug 2006 09:56:01 +0000 (09:56 +0000)
committerjfa <jfa@opencascade.com>
Wed, 9 Aug 2006 09:56:01 +0000 (09:56 +0000)
src/SUITApp/SUITApp_Application.cxx
src/Session/SALOME_Session_Server.cxx

index 7fe9b33a354391ee2657d85ccf343e4b7e5e6745..af2badc6b0772c30e25933d0b7d3009360461f23 100644 (file)
@@ -75,7 +75,7 @@ bool SUITApp_Application::notify( QObject* receiver, QEvent* e )
     QEvent::Type aType = e->type();
     if (aType == QEvent::MouseButtonPress || aType == QEvent::MouseButtonRelease ||
         aType == QEvent::MouseButtonDblClick || aType == QEvent::MouseMove ||
-        aType == QEvent::Wheel ||
+        aType == QEvent::Wheel || aType == QEvent::ContextMenu ||
         aType == QEvent::KeyPress || aType == QEvent::KeyRelease ||
         aType == QEvent::Accel || aType == QEvent::AccelOverride)
       return false;
index fbc459a614efac48a208d96f29c9f8fa3eb2b927..4aec7c8edf8251f090e2e2ec0babb5102a4a4d68 100755 (executable)
@@ -253,7 +253,7 @@ public:
       QEvent::Type aType = e->type();
       if (aType == QEvent::MouseButtonPress || aType == QEvent::MouseButtonRelease ||
           aType == QEvent::MouseButtonDblClick || aType == QEvent::MouseMove ||
-          aType == QEvent::Wheel ||
+          aType == QEvent::Wheel || aType == QEvent::ContextMenu ||
           aType == QEvent::KeyPress || aType == QEvent::KeyRelease ||
           aType == QEvent::Accel || aType == QEvent::AccelOverride)
         return false;