commit 8941ec4b42097bb657c0950c432d41b140ea9e83
Author: Juergen Spitzmueller <[email protected]>
Date:   Sat Apr 20 19:53:24 2019 +0200

    update buffer after fixBiblio
    
    fixes: #2743
    (cherry picked from commit 0a4686d8d345e7d2924bf990e99d957f045d581e)
---
 src/Paragraph.cpp |    2 ++
 status.23x        |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp
index 0ec30c7..8c77f58 100644
--- a/src/Paragraph.cpp
+++ b/src/Paragraph.cpp
@@ -3713,6 +3713,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;
 }
 
diff --git a/status.23x b/status.23x
index b28db5c..fcd9657 100644
--- a/status.23x
+++ b/status.23x
@@ -50,7 +50,7 @@ What's new
 
 * USER INTERFACE
 
-- Fix counter issue with pasted bibitems (bug 8499).
+- Fix some numbering issues with bibitems (bug 2743, 8499).
 
 - Deal properly with orphaned bibitems (bug 7160).
 

Reply via email to