[LyX/master] Add FIXME for bug #12828

Richard Kimberly Heck rikiheck at lyx.org
Thu Jul 27 20:59:44 UTC 2023


commit a13fb42a03616eca6f6b24ccb95042f8dc0f6c1c
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Thu Jul 27 18:08:23 2023 -0400

    Add FIXME for bug #12828
---
 src/frontends/qt/GuiView.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index dca336a..844ef90 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -1292,6 +1292,9 @@ void GuiView::closeEvent(QCloseEvent * close_event)
 {
 	LYXERR(Debug::DEBUG, "GuiView::closeEvent()");
 
+	// FIXME Bug #12828 bites here. If there is some other View open, then
+	// we really should only refuse to close if one of the Buffers open here
+	// is being processed.
 	if (!GuiViewPrivate::busyBuffers.isEmpty()) {
 		Alert::warning(_("Exit LyX"),
 			_("LyX could not be closed because documents are being processed by LyX."));


More information about the lyx-cvs mailing list