mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +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
|
@ -60,7 +60,7 @@ SpreadsheetWidget::SpreadsheetWidget(NonnullRefPtrVector<Sheet>&& sheets, bool s
|
|||
help_button.set_fixed_size(20, 20);
|
||||
help_button.on_click = [&](auto) {
|
||||
auto docs = m_selected_view->sheet().gather_documentation();
|
||||
auto help_window = HelpWindow::the();
|
||||
auto help_window = HelpWindow::the(window());
|
||||
help_window->set_docs(move(docs));
|
||||
help_window->show();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue