From a0007d19e99ae03171ebe0d272e29cae1d5dd22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 6 Nov 2026 23:07:48 +0100 Subject: [PATCH] Settings: Ask about restoring a page's defaults in a popup, not a full screen Co-Authored-By: Claude Opus 5.5 --- UI/SettingsPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/SettingsPage.cpp b/UI/SettingsPage.cpp index af1c4d90a3..db8bb7eb77 100644 --- a/UI/SettingsPage.cpp +++ b/UI/SettingsPage.cpp @@ -241,7 +241,7 @@ static std::function RestoreDefaultsHandler(const Setti SettingsPageHost *host = page.Host(); return [host, settings](UI::EventParams &) { std::string_view message = T(I18NCat::DIALOG, "RestorePageDefaults", "Restore the settings on this page to their defaults?"); - host->PageScreenManager()->push(new PromptScreen(host->PageGamePath(), message, T(I18NCat::DIALOG, "Reset"), T(I18NCat::DIALOG, "Cancel"), [host, settings](bool yes) { + host->PageScreenManager()->push(new UI::MessagePopupScreen(T(I18NCat::DIALOG, "Restore defaults"), message, T(I18NCat::DIALOG, "Reset"), T(I18NCat::DIALOG, "Cancel"), [host, settings](bool yes) { if (!yes) { return; }