[Libreoffice-commits] core.git: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Feb 23 01:54:09 UTC 2019


 sfx2/source/dialog/backingwindow.cxx |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

New commits:
commit 77fe54df21195a1b0483fb06466ced935a186030
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Thu Feb 21 16:04:04 2019 -0900
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Sat Feb 23 02:53:35 2019 +0100

    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 at utsa.edu>
    Reviewed-by: Jim Raykowski <raykowj at gmail.com>

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;
+                    }
                 }
             }
         }


More information about the Libreoffice-commits mailing list