summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorThitat Auareesuksakul <thitat@fluxthitat.me>2022-02-01 19:35:58 +0700
committerAndreas Kling <kling@serenityos.org>2022-02-01 20:45:11 +0100
commit411251bae9a59e46853dfdf7e13ceae207049a93 (patch)
tree495c5652f8dd6ef9a6d6f042f4a2f13cbd6ca9e1 /Userland/Libraries
parenta599f68cfe09c4741bdcff18c8b9bbb422b8d1bf (diff)
downloadserenity-411251bae9a59e46853dfdf7e13ceae207049a93.zip
LibGUI: Rename Close to Discard in MessageBox::ask_about_unsaved_changes
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibGUI/MessageBox.cpp2
1 files changed, 1 insertions, 1 deletions
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();