commit 0a4686d8d345e7d2924bf990e99d957f045d581e
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Apr 20 19:53:24 2019 +0200
update buffer after fixBiblio
fixes: #2743
---
src/Paragraph.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 4e36f7f..e5327a4 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;
}