From: Juergen Spitzmueller Date: Sun, 5 Nov 2023 11:28:27 +0000 (+0100) Subject: Amend ec2da3a509 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=098b4f33480688d8a826649ee8c60cf692348aa5;p=features.git Amend ec2da3a509 --- diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp index bd87d9a38e..470d84413f 100644 --- a/src/frontends/qt/GuiDocument.cpp +++ b/src/frontends/qt/GuiDocument.cpp @@ -1854,13 +1854,13 @@ void GuiDocument::onClosing(int const id) if (!guiApp || !guiApp->currentView() || guiApp->currentView()->id() != id || !bc().policy().buttonStatus(ButtonPolicy::RESTORE)) - // notthing to do + // nothing to do return; int const ret = Alert::prompt(_("Unapplied changes"), _("Some changes in the document were not yet applied.\n" - "Do you want to apply them before closing?"), - 1, 1, _("Yes, &Apply"), _("No, &Dismiss Changes")); + "Do you want to apply them before closing or dismiss the changes?"), + 1, 1, _("&Apply"), _("&Dismiss Changes")); if (ret == 0) slotOK(); }