basctl/source/basicide/macrodlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit a15459316bcf18000a74c3779a60689c828c5870 Author: Andreas Heinisch <andreas.heini...@yahoo.de> AuthorDate: Thu Oct 3 09:14:12 2019 +0200 Commit: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> CommitDate: Wed Oct 16 10:23:40 2019 +0200 tdf#62955 - Allow searching a name with typing the first letter Grab focus of the TreeView when the macro chooser is created Change-Id: Idfe3d2435840103eb2fa0ec5d17efce0931cfabd Reviewed-on: https://gerrit.libreoffice.org/80095 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 9d1add2ae515..3459a5432b9f 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -172,7 +172,6 @@ void MacroChooser::RestoreMacroDescription() short MacroChooser::run() { RestoreMacroDescription(); - m_xRunButton->grab_focus(); // #104198 Check if "wrong" document is active bool bSelectedEntry = m_xBasicBox->get_cursor(m_xBasicBoxIter.get()); @@ -209,6 +208,9 @@ short MacroChooser::run() CheckButtons(); UpdateFields(); + // tdf#62955 - Allow searching a name with typing the first letter + m_xBasicBox->get_widget().grab_focus(); + if ( StarBASIC::IsRunning() ) m_xCloseButton->grab_focus(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits