summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2020-09-12 14:32:51 +0300
committerAndreas Kling <kling@serenityos.org>2020-09-15 21:43:29 +0200
commitdac7db830af8ed5eff49272c89ec3f428ac73f26 (patch)
tree9584bce01f7a15932f3c49e3a6e4b8ecdd17013b
parentf300b816486c85190b9eaadf69e418ccb572b35f (diff)
downloadserenity-dac7db830af8ed5eff49272c89ec3f428ac73f26.zip
HackStudio: Fix "Add new Editor" action
-rw-r--r--DevTools/HackStudio/Editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/DevTools/HackStudio/Editor.cpp b/DevTools/HackStudio/Editor.cpp
index e81fac3860..275fe3cdf5 100644
--- a/DevTools/HackStudio/Editor.cpp
+++ b/DevTools/HackStudio/Editor.cpp
@@ -48,6 +48,7 @@ namespace HackStudio {
Editor::Editor()
{
+ set_document(CodeDocument::create());
m_documentation_tooltip_window = GUI::Window::construct();
m_documentation_tooltip_window->set_rect(0, 0, 500, 400);
m_documentation_tooltip_window->set_window_type(GUI::WindowType::Tooltip);