1
Fork 0
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:
thankyouverycool 2022-08-22 15:30:52 -04:00 committed by Andreas Kling
parent 35a230f974
commit d5de9bcc51
3 changed files with 4 additions and 0 deletions

View file

@ -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();
}
};