mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
TextEditor: Focus the editor after opening a new file
This commit is contained in:
@@ -442,6 +442,8 @@ void TextEditorWidget::open_sesame(const String& path)
|
||||
m_document_opening = true;
|
||||
|
||||
set_path(FileSystemPath(path));
|
||||
|
||||
m_editor->set_focus(true);
|
||||
}
|
||||
|
||||
bool TextEditorWidget::request_close()
|
||||
|
||||
Reference in New Issue
Block a user