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:
Richard Heck 2009-09-04 13:34:02 +00:00
parent 5be07da6e5
commit d7732ba4ee

View File

@ -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