-rw-r--r-- | library/qpemenubar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/qpemenubar.cpp b/library/qpemenubar.cpp index f0171ba..c658d10 100644 --- a/library/qpemenubar.cpp +++ b/library/qpemenubar.cpp @@ -116,13 +116,13 @@ void QPEMenuToolFocusManager::moveFocus( bool next ) } else { if ( it == list.begin() ) it = list.end(); --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; } } } |