mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 21:59:21 +00:00
We previously assumed that `set_most_recently_open_file()` would only be called after `Menu::add_recent_files_list()` had been called, and would crash if we hadn't called it yet. This stops the crash. We're fine to do this, because we always call `update_recent_file_actions()` in `register_recent_file_actions()` so it's guaranteed to be up to date when we do need it.
12 KiB
12 KiB