mirror of
https://github.com/RGBCube/serenity
synced 2025-07-15 12:27:35 +00:00
LibGUI: Make the autocomplete box window a child of its editor's window
Fixes #4761.
This commit is contained in:
parent
6dbdbec835
commit
7f7656fe4e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ AutocompleteBox::~AutocompleteBox() { }
|
|||
AutocompleteBox::AutocompleteBox(TextEditor& editor)
|
||||
: m_editor(editor)
|
||||
{
|
||||
m_popup_window = GUI::Window::construct();
|
||||
m_popup_window = GUI::Window::construct(m_editor->window());
|
||||
m_popup_window->set_window_type(GUI::WindowType::Tooltip);
|
||||
m_popup_window->set_rect(0, 0, 200, 100);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue