diff options
-rw-r--r-- | Userland/DevTools/HackStudio/Editor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/HackStudio/Editor.cpp b/Userland/DevTools/HackStudio/Editor.cpp index b8c37053d1..d9d6c87e93 100644 --- a/Userland/DevTools/HackStudio/Editor.cpp +++ b/Userland/DevTools/HackStudio/Editor.cpp @@ -357,6 +357,7 @@ void Editor::drop_event(GUI::DropEvent& event) GUI::MessageBox::show(window(), "HackStudio can only open one file at a time!", "One at a time please!", GUI::MessageBox::Type::Error); return; } + set_current_editor_wrapper(static_cast<EditorWrapper*>(parent())); open_file(urls.first().path()); } } |