kdenetwork/knode knode.cpp,1.97,1.97.2.1 Author: gebauer Tue Apr 2 01:08:35 CEST 2002 In directory office:/tmp/cvs-serv27147 Modified Files: knode.cpp Log Message: fixed keyboard handling in the menubar (esc, cursor-left and cursor-right didn't work) bool KNMainWindow::eventFilter(QObject *o, QEvent *e) { - if ((e->type() == QEvent::KeyPress) || - (e->type() == QEvent::KeyRelease) || - (e->type() == QEvent::Accel) || - (e->type() == QEvent::AccelOverride)) + if (((e->type() == QEvent::KeyPress) || + (e->type() == QEvent::KeyRelease) || + (e->type() == QEvent::Accel) || + (e->type() == QEvent::AccelOverride)) && + b_lockui) return true; return KDockMainWindow::eventFilter(o, e); }