mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-15 21:14:48 +00:00
Now that the window used by a WSMenu is its child CObject, the menu also receives CChildEvent's about the window, including CEvent::ChildAdded when the window gets created. At this point, menu_window() still returns nullptr, so stop unconditionally assuming that it doesn't. We should not care whether or not we have a window for unrelated events anyway.
7.1 KiB
7.1 KiB