1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 12:27:35 +00:00

HackStudio: Fix "Add new Editor" action

This commit is contained in:
Itamar 2020-09-12 14:32:51 +03:00 committed by Andreas Kling
parent f300b81648
commit dac7db830a

View file

@ -48,6 +48,7 @@ namespace HackStudio {
Editor::Editor() Editor::Editor()
{ {
set_document(CodeDocument::create());
m_documentation_tooltip_window = GUI::Window::construct(); m_documentation_tooltip_window = GUI::Window::construct();
m_documentation_tooltip_window->set_rect(0, 0, 500, 400); m_documentation_tooltip_window->set_rect(0, 0, 500, 400);
m_documentation_tooltip_window->set_window_type(GUI::WindowType::Tooltip); m_documentation_tooltip_window->set_window_type(GUI::WindowType::Tooltip);