Le 30/06/2022 à 07:47, Jean-Marc Lasgouttes a écrit :
I pushed the thing by mistake but, yes, I am aware of it and will propose something soon.
What about this? JMarc
From 2ec868cf87e57bc6158d97d1f2bd7cf9c8845cb5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu, 30 Jun 2022 11:10:31 +0200 Subject: [PATCH] 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 file changed, 2 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index ebca6f88a5..72cbb2874d 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( -- 2.25.1
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel