From: Jean-Marc Lasgouttes Date: Thu, 30 Jun 2022 09:10:31 +0000 (+0200) Subject: Remove useless message (and avoid endless loop) X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4c6dce1b0bc98e0d4880b4c8f3127cb07421f01c;p=features.git 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. --- 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(