sfx2/source/doc/templatedlg.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4651402a5399e00f62311bb3fe545413b0818a2d Author: Cédric Bosdonnat <cedric.bosdon...@free.fr> Date: Mon Jan 28 18:50:39 2013 +0100 Template Manager: focus in search edit when clicking search action diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index b756111..d3721ab 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -964,6 +964,8 @@ void SfxTemplateManagerDlg::OnTemplateSearch () mpSearchEdit->Show(!bVisible); mpSearchEdit->SetText(OUString()); + if (!bVisible) + mpSearchEdit->GrabFocus(); // display all templates if we hide the search bar if (bVisible && mpCurView->isOverlayVisible())
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits