-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 @@ -118,9 +118,9 @@ void QPEMenuToolFocusManager::moveFocus( bool next ) 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; } |