Taskbar: Load Assistant's AppFile on window creation

Fixes crashing when spawning Assistant by shortcut
This commit is contained in:
thankyouverycool 2022-12-26 18:08:03 -05:00 committed by Tim Flynn
parent 7d5839f793
commit 10626e6c6c

View file

@ -58,6 +58,7 @@ ErrorOr<NonnullRefPtr<TaskbarWindow>> TaskbarWindow::create()
{
auto window = TRY(AK::adopt_nonnull_ref_or_enomem(new (nothrow) TaskbarWindow()));
TRY(window->populate_taskbar());
TRY(window->load_assistant());
return window;
}