From: jfa Date: Wed, 9 Aug 2006 09:56:01 +0000 (+0000) Subject: PAL13020: EDF237: environment is freezed because of the IHM of Salome. Take into... X-Git-Tag: For_OCT_611~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=62619540ab0eaeff1b9c1ceb06af3ba5f3eb2416;p=modules%2Fgui.git PAL13020: EDF237: environment is freezed because of the IHM of Salome. Take into account ContextMenu event. --- diff --git a/src/SUITApp/SUITApp_Application.cxx b/src/SUITApp/SUITApp_Application.cxx index 7fe9b33a3..af2badc6b 100644 --- a/src/SUITApp/SUITApp_Application.cxx +++ b/src/SUITApp/SUITApp_Application.cxx @@ -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; diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index fbc459a61..4aec7c8ed 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -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;