mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:47:36 +00:00
Browser: Set parent of tab child windows
By setting the parent of the JS console, DOM inspector, view source and download windows, they will be destroyed automatically when the main browser window is closed. Fixes #2373.
This commit is contained in:
parent
daf85fb07b
commit
9734420dfa
2 changed files with 12 additions and 16 deletions
|
@ -82,6 +82,8 @@ private:
|
|||
Web::WebViewHooks& hooks();
|
||||
void update_actions();
|
||||
void update_bookmark_button(const String& url);
|
||||
void start_download(const URL& url);
|
||||
void view_source(const URL& url, const String& source);
|
||||
|
||||
Type m_type;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue