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

Caolán McNamara caolanm at redhat.com
Thu Oct 9 09:20:36 PDT 2014


 sfx2/source/dialog/backingwindow.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b5167e1866efb646270edce8b37894a93bea2cde
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 9 17:18:24 2014 +0100

    Related: fdo#83003 warp directly to the templates/recentfiles on changing mode
    
    which has the side-effect that the keyboard and tab key will cycle
    through all the contents of the start center. Otherwise in the template
    view on first clicking templates you are "stuck"
    
    Change-Id: Iceed2492e8dde28c0ada381ef0f430738441179f

diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 1e87b42..08ccff1 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -551,6 +551,7 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton )
     {
         mpLocalView->Hide();
         mpAllRecentThumbnails->Show();
+        mpAllRecentThumbnails->GrabFocus();
     }
     else if( pButton == mpTemplateButton )
     {
@@ -558,6 +559,7 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton )
         mpCurrentView->filterItems(ViewFilter_Application(FILTER_APP_NONE));
         mpLocalView->Show();
         mpLocalView->reload();
+        mpLocalView->GrabFocus();
     }
     return 0;
 }
@@ -598,6 +600,7 @@ IMPL_LINK( BackingWindow, MenuSelectHdl, MenuButton*, pButton )
     mpAllRecentThumbnails->Hide();
     mpLocalView->Show();
     mpLocalView->reload();
+    mpLocalView->GrabFocus();
 
     return 0;
 }


More information about the Libreoffice-commits mailing list