I forgot that inset-begin jumps out of the Inset if the cursor is already at the begin.
see r31823.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31839
a592a061-630c-0410-9148-
cb99ea01b6c8
unsetMultiColumn(i);
// When unsetting a caption row, also all existing
// captions in this row must be dissolved.
- lyx::dispatch(FuncRequest(LFUN_INSET_BEGIN));
+ lyx::dispatch(FuncRequest(LFUN_LINE_BEGIN));
lyx::dispatch(FuncRequest(LFUN_INSET_DISSOLVE, "caption"));
}
row_info[row].caption = what;