1
Fork 0
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:
Andreas Kling 2020-01-23 21:29:59 +01:00
parent 1c34348b0c
commit 7c74d3a657

View file

@ -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()