mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Amend ec2da3a509
This commit is contained in:
parent
ec2da3a509
commit
098b4f3348
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user