]> git.lyx.org Git - features.git/commitdiff
Do not try even to hide buffers that are being processed by LyX.
authorRichard Heck <rgheck@lyx.org>
Sat, 12 Dec 2015 17:57:33 +0000 (12:57 -0500)
committerRichard Heck <rgheck@lyx.org>
Sat, 12 Dec 2015 18:00:20 +0000 (13:00 -0500)
Should fix #9711.

src/frontends/qt4/GuiView.cpp

index 977395d1c99c6046cee046560650d96aa8dd8f4e..548381b5f3ee83c533a65a1aca8f15de50994cbf 100644 (file)
@@ -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;