mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:28:13 +00:00
HackStudio: Focus the text editor after opening a file
This commit is contained in:
parent
cea6506998
commit
dd74cb9c8f
1 changed files with 2 additions and 0 deletions
|
@ -315,4 +315,6 @@ void open_file(const String& filename)
|
||||||
g_currently_open_file = filename;
|
g_currently_open_file = filename;
|
||||||
g_window->set_title(String::format("%s - HackStudio", g_currently_open_file.characters()));
|
g_window->set_title(String::format("%s - HackStudio", g_currently_open_file.characters()));
|
||||||
g_project_list_view->update();
|
g_project_list_view->update();
|
||||||
|
|
||||||
|
g_text_editor->set_focus(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue