mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Better message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31276 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5be07da6e5
commit
d7732ba4ee
@ -310,9 +310,9 @@ Buffer::~Buffer()
|
||||
}
|
||||
|
||||
if (!isClean()) {
|
||||
docstring msg = _("Buffer had unsaved changes when destroyed!\n");
|
||||
docstring msg = _("LyX attempted to close a document that had unsaved changes!\n");
|
||||
msg += emergencyWrite();
|
||||
frontend::Alert::warning(_("Attempting to destroy dirty Buffer!"), msg);
|
||||
frontend::Alert::warning(_("Attempting to close changed document!"), msg);
|
||||
}
|
||||
|
||||
// clear references to children in macro tables
|
||||
|
Loading…
x
Reference in New Issue
Block a user