mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
Spreadsheet: Properly pass parent window to Workbook
Change the parent of the WizardDialog to that of the Spreadsheet window. Previously the WizardDialog was using the open file dialog as the parent resulting in the csv import dialog
This commit is contained in:
parent
876424923a
commit
f5ff011c1b
5 changed files with 10 additions and 7 deletions
|
@ -56,7 +56,7 @@ private:
|
|||
};
|
||||
|
||||
struct ImportDialog {
|
||||
static Result<NonnullRefPtrVector<Sheet>, String> make_and_run_for(StringView mime, Core::File& file, Workbook&);
|
||||
static Result<NonnullRefPtrVector<Sheet>, String> make_and_run_for(GUI::Window* parent, StringView mime, Core::File& file, Workbook&);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue