mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
Spreadsheet: Drop all references to example windows when closing them
Fixes #4716.
This commit is contained in:
parent
e080a4f74a
commit
4bc33ee3ae
4 changed files with 13 additions and 10 deletions
|
@ -236,7 +236,7 @@ int main(int argc, char* argv[])
|
|||
help_menu.add_action(GUI::Action::create(
|
||||
"Functions Help", [&](auto&) {
|
||||
auto docs = spreadsheet_widget.current_worksheet().gather_documentation();
|
||||
auto help_window = Spreadsheet::HelpWindow::the();
|
||||
auto help_window = Spreadsheet::HelpWindow::the(window);
|
||||
help_window->set_docs(move(docs));
|
||||
help_window->show();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue