mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-20 00:12:20 +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
|
@ -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…
Reference in a new issue