commit ff62533c44f38e635040d988f264151243ab3963
Author: Juergen Spitzmueller <[email protected]>
Date:   Sat Apr 5 11:26:32 2025 +0200

    Add missing buffer update
---
 src/BufferView.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index e161029678..71ca2faebf 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -1719,6 +1719,7 @@ void BufferView::dispatch(FuncRequest const & cmd, 
DispatchResult & dr)
                                else {
                                        string const arg = (type.empty()) ? 
label : label + " " + type;
                                        
lyx::dispatch(FuncRequest(LFUN_REFERENCE_INSERT, arg));
+                                       cur.forceBufferUpdate();
                                }
                                break;
                        } else {
@@ -1751,6 +1752,7 @@ void BufferView::dispatch(FuncRequest const & cmd, 
DispatchResult & dr)
                                                                          : 
to_utf8(new_label) + " " + type;
                                        
lyx::dispatch(FuncRequest(LFUN_REFERENCE_INSERT, arg));
                                }
+                               cur.forceBufferUpdate();
                                break;
                        }
                }
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to