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.
This commit is contained in:
Jean-Marc Lasgouttes 2022-06-30 11:10:31 +02:00
parent c75522bbb7
commit 4c6dce1b0b

View File

@ -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(