mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
Taskbar: Load Assistant's AppFile on window creation
Fixes crashing when spawning Assistant by shortcut
This commit is contained in:
parent
7d5839f793
commit
10626e6c6c
Notes:
sideshowbarker
2024-07-17 04:10:16 +09:00
Author: https://github.com/thankyouverycool
Commit: 10626e6c6c
Pull-request: https://github.com/SerenityOS/serenity/pull/16682
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ ErrorOr<NonnullRefPtr<TaskbarWindow>> TaskbarWindow::create()
|
||||||
{
|
{
|
||||||
auto window = TRY(AK::adopt_nonnull_ref_or_enomem(new (nothrow) TaskbarWindow()));
|
auto window = TRY(AK::adopt_nonnull_ref_or_enomem(new (nothrow) TaskbarWindow()));
|
||||||
TRY(window->populate_taskbar());
|
TRY(window->populate_taskbar());
|
||||||
|
TRY(window->load_assistant());
|
||||||
return window;
|
return window;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue