commit 3328cb2ee0d2957759ce141cefd69e2dddbc6ad4
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Nov 2 17:32:53 2025 +0100
Add missing buffer setting of script inset in macro
Fixes bug #13272.
(cherry picked from commit a124ee1764f4ceec24708b3488ba1cd1db29025e)
---
src/mathed/MathData.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mathed/MathData.cpp b/src/mathed/MathData.cpp
index 0425f672bf..7cda068d69 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