1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

HackStudio: Make use of existing TextEditor::on_focusin callback

This commit is contained in:
Sam Atkins 2023-07-19 17:16:01 +01:00 committed by Sam Atkins
parent 5aab31dc40
commit 4c551bfad9
3 changed files with 1 additions and 16 deletions

View file

@ -30,7 +30,7 @@ EditorWrapper::EditorWrapper()
m_editor->set_ruler_visible(true);
m_editor->set_automatic_indentation_enabled(true);
m_editor->on_focus = [this] {
m_editor->on_focusin = [this] {
set_current_editor_wrapper(this);
};