1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:17:42 +00:00

TextEditor: Focus the editor widget on startup

This commit is contained in:
Andreas Kling 2019-11-30 15:34:08 +01:00
parent ee8773c586
commit f8703d44cc
3 changed files with 4 additions and 2 deletions

View file

@ -19,6 +19,8 @@ public:
void open_sesame(const String& path);
bool request_close();
GTextEditor& editor() { return *m_editor; }
private:
TextEditorWidget();
void set_path(const FileSystemPath& file);