From 2c16c8767fa5c16c0eeebc7008202a68a61a5308 Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 06 Oct 2002 03:18:29 +0000 Subject: key navigation didn't work in toolbars, which had separators (e.g. qpdf or drawpad) - now this is accounted for and they are skipped --- (limited to 'library/qpemenubar.cpp') diff --git a/library/qpemenubar.cpp b/library/qpemenubar.cpp index f0171ba..c658d10 100644 --- a/library/qpemenubar.cpp +++ b/library/qpemenubar.cpp @@ -119,7 +119,7 @@ void QPEMenuToolFocusManager::moveFocus( bool next ) --it; } QWidget *w = (*it); - if ( w && w->isEnabled() && w->isVisible() && + if ( w && w->isEnabled() && w->isVisible() && !w->inherits("QToolBarSeparator") && w->topLevelWidget() == qApp->activeWindow() ) { setFocus( w, next ); return; -- cgit v0.9.0.2