diff options
-rw-r--r-- | basctl/source/basicide/macrodlg.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |