diff --git a/Userland/Libraries/LibGUI/Application.cpp b/Userland/Libraries/LibGUI/Application.cpp index 7d75e9a503..f59300d03c 100644 --- a/Userland/Libraries/LibGUI/Application.cpp +++ b/Userland/Libraries/LibGUI/Application.cpp @@ -399,7 +399,8 @@ void Application::set_most_recently_open_file(ByteString new_path) path); } - update_recent_file_actions(); + if (!m_recent_file_actions.is_empty()) + update_recent_file_actions(); } }