From a5ea77410e3acffb7f8ddd074a8c98f61dcdf95f Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 12 Dec 2015 12:57:33 -0500 Subject: [PATCH] Do not try even to hide buffers that are being processed by LyX. Should fix #9711. --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2