From: Richard Heck Date: Sat, 12 Dec 2015 17:57:33 +0000 (-0500) Subject: Do not try even to hide buffers that are being processed by LyX. X-Git-Tag: 2.2.0beta1~396 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a5ea77410e3acffb7f8ddd074a8c98f61dcdf95f;p=features.git Do not try even to hide buffers that are being processed by LyX. Should fix #9711. --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 977395d1c9..548381b5f3 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2819,7 +2819,7 @@ bool GuiView::closeWorkArea(GuiWorkArea * wa, bool close_buffer) Buffer & buf = wa->bufferView().buffer(); - if (close_buffer && GuiViewPrivate::busyBuffers.contains(&buf)) { + if (GuiViewPrivate::busyBuffers.contains(&buf)) { Alert::warning(_("Close document"), _("Document could not be closed because it is being processed by LyX.")); return false;