]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
An error that arised because of merge was fixed. eventFilter() function. viewWindow... OCC_debug_for_3_2_0b1
authorasv <asv@opencascade.com>
Sat, 6 May 2006 06:20:59 +0000 (06:20 +0000)
committerasv <asv@opencascade.com>
Sat, 6 May 2006 06:20:59 +0000 (06:20 +0000)
src/SUIT/SUIT_Accel.cxx

index 6d67893a02399ddcae19dec10a9fc6d55eafc22b..600ab2ebd2324bd9322ce818b5a7785d2c4baf5b 100644 (file)
@@ -115,7 +115,7 @@ bool SUIT_Accel::eventFilter( QObject *obj, QEvent *event )
   const int key = getAccelKey( event );
   if ( key ) {
     SUIT_ViewWindow* vw = ::getParentViewWindow( obj ); 
-    if ( vw && vw->hasFocus() ) {
+    if ( vw ) {
       QString type = vw->getViewManager()->getViewModel()->getType();
       if ( myMap.contains( type ) ) {
        IdActionMap idActionMap = myMap[type];