From: Juergen Spitzmueller Date: Sat, 20 Apr 2019 17:53:24 +0000 (+0200) Subject: update buffer after fixBiblio X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9a57576ba14debf7185fd7476b6707f458f5f4c9;p=features.git update buffer after fixBiblio fixes: #2743 --- diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 4e36f7f514..e5327a4a3e 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -3723,6 +3723,8 @@ int Paragraph::fixBiblio(Buffer const & buffer) insertInset(0, inset, font, Change(track_changes ? Change::INSERTED : Change::UNCHANGED)); + // This is needed to get the counters right + buffer.updateBuffer(); return 1; }