commit 4c6dce1b0bc98e0d4880b4c8f3127cb07421f01c
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Thu Jun 30 11:10:31 2022 +0200

    Remove useless message (and avoid endless loop)
    
    When changing the document class, the message "Converting document to
    new document class..." is shown in minibuffer. This message leads to
    weird GUI update interactions with the FindAndReplace panel, and
    ultimately infinite loops. It would only be useful if the conversion
    took a long time.
    
    See this thread for rreference:
    https://marc.info/?l=lyx-devel&m=165648365808777&w=2
    
    Therefore, just remove it.
---
 src/BufferView.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index ebca6f8..72cbb28 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -1089,8 +1089,6 @@ void BufferView::makeDocumentClass()
 
 void BufferView::updateDocumentClass(DocumentClassConstPtr olddc)
 {
-       message(_("Converting document to new document class..."));
-
        StableDocIterator backcur(d->cursor_);
        ErrorList & el = buffer_.errorList("Class Switch");
        cap::switchBetweenClasses(
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to