From 4c6dce1b0bc98e0d4880b4c8f3127cb07421f01c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes 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.39.2