]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix crash on switching to the neutral point (caused by previous bad integration) TRIPOLI_323
authorvsr <vsr@opencascade.com>
Fri, 27 Apr 2012 15:05:27 +0000 (15:05 +0000)
committervsr <vsr@opencascade.com>
Fri, 27 Apr 2012 15:05:27 +0000 (15:05 +0000)
src/LightApp/LightApp_ModuleAction.cxx

index ff33e6c63ea4f6971f7d25dd54f96a2497743e94..76fe69750cf1f7bd89de3055fa08e927c8cbd6c9 100755 (executable)
@@ -439,8 +439,10 @@ void LightApp_ModuleAction::removedFrom( QWidget* w )
 */
 bool LightApp_ModuleAction::event( QEvent* e )
 {
-  if ( e->type() == QEvent::MaxUser )
+  if ( e->type() == QEvent::MaxUser ) {
     activate( ((ActivateEvent*)e)->id(), false );
+    return true;
+  }
   return QtxAction::event( e );
 }