TextEditor: Focus the editor after opening a new file

This commit is contained in:
Andreas Kling 2020-01-23 21:29:59 +01:00
commit 7c74d3a657
Notes: sideshowbarker 2024-07-19 09:51:41 +09:00

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