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:
parent
5aab31dc40
commit
4c551bfad9
3 changed files with 1 additions and 16 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue