mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05: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
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()));
|
||||
TRY(window->populate_taskbar());
|
||||
TRY(window->load_assistant());
|
||||
return window;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue