mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
HackStudio: File search box stays opened after closing
Fix ##5061 by passing the parent widget down to the locator object and having the locator object parent it's window to it.
This commit is contained in:
parent
8e4e640717
commit
7648f6aa7b
2 changed files with 11 additions and 8 deletions
|
@ -45,7 +45,7 @@ private:
|
|||
void update_suggestions();
|
||||
void open_suggestion(const GUI::ModelIndex&);
|
||||
|
||||
Locator();
|
||||
Locator(Core::Object* parent = nullptr);
|
||||
|
||||
RefPtr<GUI::TextBox> m_textbox;
|
||||
RefPtr<GUI::Window> m_popup_window;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue