]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.cpp
Cmake export tests: Added sublabel handling also to revertedTests
[lyx.git] / src / mathed / InsetMathSubstack.cpp
index d38513738e18259d9e3c5b45e69d408716882844..7810ff479e9065a92d58f6cd588d1172639358aa 100644 (file)
@@ -107,8 +107,11 @@ void InsetMathSubstack::write(WriteStream & os) const
 {
        MathEnsurer ensurer(os);
        os << "\\substack{";
+       bool open = os.startOuterRow();
        InsetMathGrid::write(os);
        os << "}\n";
+       if (open)
+               os.startOuterRow();
 }