mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
branch: Move the contents of a row into the caption when setting a row as a longtable caption.
see r32156. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32172 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f1dfaa091b
commit
4cb580a1c0
@ -4724,11 +4724,12 @@ void InsetTabular::tabularFeatures(Cursor & cur,
|
||||
cur.pit() = 0;
|
||||
cur.pos() = 0;
|
||||
cur.setSelection(false);
|
||||
if (set)
|
||||
if (set) {
|
||||
// When a row is set as caption, then also insert
|
||||
// a caption. Otherwise the LaTeX output is broken.
|
||||
lyx::dispatch(FuncRequest(LFUN_INSET_SELECT_ALL));
|
||||
lyx::dispatch(FuncRequest(LFUN_CAPTION_INSERT));
|
||||
else {
|
||||
} else {
|
||||
FuncRequest fr(LFUN_INSET_DISSOLVE);
|
||||
if (lyx::getStatus(fr).enabled())
|
||||
lyx::dispatch(fr);
|
||||
|
@ -318,6 +318,9 @@ What's new
|
||||
- Dissolve the caption when unsetting a longtable caption row (bug 5754),
|
||||
and when converting a longtable into a normal table.
|
||||
|
||||
- Move the contents of a table row into the caption when setting the row
|
||||
as a longtable caption row.
|
||||
|
||||
- Correctly position the cursor after pasting to a multi-cell math inset
|
||||
(bug 6342).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user