mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
TextEditor: Focus the editor after opening a new file
This commit is contained in:
parent
1c34348b0c
commit
7c74d3a657
Notes:
sideshowbarker
2024-07-19 09:51:41 +09:00
Author: https://github.com/awesomekling
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