From 90156aa3d8d70f09523f79f2f7b4647bd5a3a439 Mon Sep 17 00:00:00 2001 From: asv Date: Sat, 6 May 2006 06:20:59 +0000 Subject: [PATCH] An error that arised because of merge was fixed. eventFilter() function. viewWindow->hasFocus() must NOT be there! it is checked in action() funcitons of ViewWindows if needed. --- src/SUIT/SUIT_Accel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SUIT/SUIT_Accel.cxx b/src/SUIT/SUIT_Accel.cxx index 6d67893a0..600ab2ebd 100644 --- a/src/SUIT/SUIT_Accel.cxx +++ b/src/SUIT/SUIT_Accel.cxx @@ -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]; -- 2.39.2