commit a124ee1764f4ceec24708b3488ba1cd1db29025e
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Nov 2 17:32:53 2025 +0100

    Add missing buffer setting of script inset in macro
---
 src/mathed/MathData.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mathed/MathData.cpp b/src/mathed/MathData.cpp
index f655006c3b..82153b2cc1 100644
--- a/src/mathed/MathData.cpp
+++ b/src/mathed/MathData.cpp
@@ -753,6 +753,7 @@ void MathData::attachMacroParameters(Cursor * cur,
 
                // get pointer to "deep" copied macro inset
                scriptInset = operator[](macroPos).nucleus()->asScriptInset();
+               scriptInset->setBuffer(*buffer_);
                macroInset = scriptInset->nuc()[0].nucleus()->asMacroInset();
        }
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to