diff --git a/Userland/Applications/CrashReporter/main.cpp b/Userland/Applications/CrashReporter/main.cpp index 672c8f4956..f004ca430c 100644 --- a/Userland/Applications/CrashReporter/main.cpp +++ b/Userland/Applications/CrashReporter/main.cpp @@ -264,9 +264,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto& close_button = *widget->find_descendant_of_type_named("close_button"); close_button.on_click = [&](auto) { - if (unlink_on_exit) - unlink_coredump(coredump_path); - app->quit(); + window->close(); }; close_button.set_focus(true);