mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Line length, better grammar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36391 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2b26246d0d
commit
2be835f925
@ -802,7 +802,8 @@ void GuiView::closeEvent(QCloseEvent * close_event)
|
||||
LYXERR(Debug::DEBUG, "GuiView::closeEvent()");
|
||||
|
||||
if (!GuiViewPrivate::busyBuffers.isEmpty()) {
|
||||
Alert::warning(_("Exit LyX"), _("LyX could not be closed because documents are processed by LyX."));
|
||||
Alert::warning(_("Exit LyX"),
|
||||
_("LyX could not be closed because documents are being processed by LyX."));
|
||||
close_event->setAccepted(false);
|
||||
return;
|
||||
}
|
||||
@ -2414,7 +2415,8 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa, bool close_buffer)
|
||||
Buffer & buf = wa->bufferView().buffer();
|
||||
|
||||
if (close_buffer && GuiViewPrivate::busyBuffers.contains(&buf)) {
|
||||
Alert::warning(_("Close document"), _("Document could not be closed because it is processed by LyX."));
|
||||
Alert::warning(_("Close document"),
|
||||
_("Document could not be closed because it is being processed by LyX."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user