mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
Applications: Use modeless windows in some apps
Browser, Spreadsheet and Charactermap now open child windows modelessly.
This commit is contained in:
parent
35a230f974
commit
d5de9bcc51
3 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,7 @@ SpreadsheetWidget::SpreadsheetWidget(GUI::Window& parent_window, NonnullRefPtrVe
|
|||
auto docs = sheet_ptr->gather_documentation();
|
||||
auto help_window = HelpWindow::the(window());
|
||||
help_window->set_docs(move(docs));
|
||||
help_window->set_window_mode(GUI::WindowMode::Modeless);
|
||||
help_window->show();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue