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:
parent
a599f68cfe
commit
411251bae9
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue