If I do the following, I get a "Unassigned buffer_ member" message:
1. Start a display math mode. 2. Paste the following into it x=\frac{1}{2}. 3. Do Ctrl + Return. 4. Execute 'tabular-feature copy-row'. 5. Press <Down> (to move to the second row). 6. Press <Left> (to move to the left of the "1"). I get the following in the terminal: Unassigned buffer_ member in Inset::dispatch() LyX Code: 78 name: mathnest Can anyone else reproduce? The attached patch fixes it (i.e., no message), but I have no idea what I'm doing. Hopefully it provides a clue for the correct fix. Scott
diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp index 58784ad79b..581026277f 100644 --- a/src/mathed/InsetMathGrid.cpp +++ b/src/mathed/InsetMathGrid.cpp @@ -1503,6 +1503,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd) for (int i = 0, n = extractInt(is); i < n; ++i) copyRow(cur.row()); cur.idx() = index(r, c); + setBuffer(*buffer_); } else if (s == "swap-row") { swapRow(cur.row());
signature.asc
Description: PGP signature