diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2022-12-26 18:08:03 -0500 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-12-27 09:28:16 -0500 |
commit | 10626e6c6c0c89191ab0f1b531621a9fcf30eb2c (patch) | |
tree | 8637312c2d555ee3c0d444a7c867b846c0f52bc6 /Userland/Services | |
parent | 7d5839f7932eeb1c4805f7c789486c807996154a (diff) | |
download | serenity-10626e6c6c0c89191ab0f1b531621a9fcf30eb2c.zip |
Taskbar: Load Assistant's AppFile on window creation
Fixes crashing when spawning Assistant by shortcut
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/Taskbar/TaskbarWindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/Taskbar/TaskbarWindow.cpp b/Userland/Services/Taskbar/TaskbarWindow.cpp index f22a8991ca..2c6e3e9c34 100644 --- a/Userland/Services/Taskbar/TaskbarWindow.cpp +++ b/Userland/Services/Taskbar/TaskbarWindow.cpp @@ -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; } |