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

Heiko Tietze (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 26 14:17:52 UTC 2021


 sfx2/source/dialog/backingwindow.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9779894a5fdcc2c46f2d4cc306f98d460570cac
Author:     Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Wed Feb 24 12:59:26 2021 +0100
Commit:     Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Fri Feb 26 15:17:12 2021 +0100

    Resolves tdf#139243 - UI glitch in start center
    
    Initial focus on Recent Files
    
    Change-Id: I8f1b49f5fdb3fdf8a84b779c1e8c4df22c3a91f3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111478
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>

diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index d9e2659e0fa8..630e96051150 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -186,7 +186,6 @@ BackingWindow::BackingWindow(vcl::Window* i_pParent)
     Reference<XDesktop2> xDesktop = Desktop::create( comphelper::getProcessComponentContext() );
     mxDesktopDispatchProvider = xDesktop;
 
-    mxOpenButton->grab_focus();
 }
 
 IMPL_LINK(BackingWindow, ClickHelpHdl, weld::Button&, rButton, void)
@@ -271,6 +270,7 @@ void BackingWindow::initControls()
     mxAllRecentThumbnails->Reload();
     mxAllRecentThumbnails->ShowTooltips( true );
     mxRecentButton->set_active(true);
+    mxRecentButton->grab_focus();
 
     //initialize Template view
     mxLocalView->Hide();


More information about the Libreoffice-commits mailing list