mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 18:38:12 +00:00
TextEditor: Focus the editor after opening a new file
This commit is contained in:
parent
1c34348b0c
commit
7c74d3a657
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue