]> git.lyx.org Git - lyx.git/commitdiff
Amend ec2da3a509
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 5 Nov 2023 11:28:27 +0000 (12:28 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 5 Nov 2023 11:28:27 +0000 (12:28 +0100)
src/frontends/qt/GuiDocument.cpp

index bd87d9a38e09cca24fa7e539b8ce43fda8253702..470d84413f7f8a6a8ec4979d2f888403cbb16880 100644 (file)
@@ -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();
 }