1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibGUI: Rename Close to Discard in MessageBox::ask_about_unsaved_changes

This commit is contained in:
Thitat Auareesuksakul 2022-02-01 19:35:58 +07:00 committed by Andreas Kling
parent a599f68cfe
commit 411251bae9

View file

@ -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();