mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
SpreadSheet: Pass parent window when constructing About action
Fixes About dialog not blocking the app's main window.
This commit is contained in:
parent
7b2becad52
commit
3dd522a109
Notes:
sideshowbarker
2024-07-17 07:43:40 +09:00
Author: https://github.com/thankyouverycool
Commit: 3dd522a109
Pull-request: https://github.com/SerenityOS/serenity/pull/15032
Issue: https://github.com/SerenityOS/serenity/issues/15018
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ SpreadsheetWidget::SpreadsheetWidget(GUI::Window& parent_window, NonnullRefPtrVe
|
|||
},
|
||||
window());
|
||||
|
||||
m_about_action = GUI::CommonActions::make_about_action("Spreadsheet", GUI::Icon::default_icon("app-spreadsheet"sv), window());
|
||||
m_about_action = GUI::CommonActions::make_about_action("Spreadsheet", GUI::Icon::default_icon("app-spreadsheet"sv), &parent_window);
|
||||
|
||||
toolbar.add_action(*m_new_action);
|
||||
toolbar.add_action(*m_open_action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue