diff options
author | Jim Raykowski <raykowj@gmail.com> | 2019-02-21 16:04:04 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2019-02-23 02:53:35 +0100 |
commit | 77fe54df21195a1b0483fb06466ced935a186030 (patch) | |
tree | c9b0b38685c10ea3c17aee4539f9ffb3dafcd798 /sfx2 | |
parent | 1f97ce11178649a8d16aa4a1df277e1a3bd8ef1b (diff) |
tdf#102005 Fix F6 regression in start center
Change-Id: I152a79b79e75bf87c437dd4dd2976c73198e6b52
Reviewed-on: https://gerrit.libreoffice.org/68185
Tested-by: Jenkins
Reviewed-by: V Stuart Foote <vstuart.foote@utsa.edu>
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 5bd7ad19ded8..45dd2af33006 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -410,15 +410,18 @@ bool BackingWindow::PreNotify(NotifyEvent& rNEvt) } else // F6 { - if(mpAllRecentThumbnails->IsVisible()) - { - mpAllRecentThumbnails->GrabFocus(); - return true; - } - else if(mpLocalView->IsVisible()) + if( mpAllButtonsBox->HasChildPathFocus() ) { - mpLocalView->GrabFocus(); - return true; + if(mpAllRecentThumbnails->IsVisible()) + { + mpAllRecentThumbnails->GrabFocus(); + return true; + } + else if(mpLocalView->IsVisible()) + { + mpLocalView->GrabFocus(); + return true; + } } } } |