On Mon, Apr 05, 2004 at 11:09:03AM +0100, Angus Leeming wrote: > Here's one error,
Indeed. Thanks. > Here, should you test nargs()? > void MathScriptInset::notifyCursorLeaves(idx_type idx) > { > MathNestInset::notifyCursorLeaves(idx); > > // remove empty scripts if possible > - if (idx == 2 && cell(2).empty()) { > + if (idx == 2 && nargs() > 2 && cell(2).empty()) { Yes. Andre'