From 411251bae9a59e46853dfdf7e13ceae207049a93 Mon Sep 17 00:00:00 2001 From: Thitat Auareesuksakul Date: Tue, 1 Feb 2022 19:35:58 +0700 Subject: [PATCH] LibGUI: Rename Close to Discard in MessageBox::ask_about_unsaved_changes --- Userland/Libraries/LibGUI/MessageBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/MessageBox.cpp b/Userland/Libraries/LibGUI/MessageBox.cpp index 6dde5e0657..416006a6e2 100644 --- a/Userland/Libraries/LibGUI/MessageBox.cpp +++ b/Userland/Libraries/LibGUI/MessageBox.cpp @@ -49,7 +49,7 @@ int MessageBox::ask_about_unsaved_changes(Window* parent_window, StringView path box->set_icon(parent_window->icon()); box->m_yes_button->set_text(path.is_empty() ? "Save As..." : "Save"); - box->m_no_button->set_text("Close"); + box->m_no_button->set_text("Discard"); box->m_cancel_button->set_text("Cancel"); return box->exec();