mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +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
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