mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
InsetTabular.cpp: Insert a caption, when a longtable row is marked to be the caption, otherwise the LaTeX output would be is incorrect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28440 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2d66dbb678
commit
8bbd9f254d
@ -1750,8 +1750,9 @@ Tabular::idx_type Tabular::setLTCaption(row_type row, bool what)
|
||||
setBottomLine(i, false);
|
||||
setLeftLine(i, false);
|
||||
setRightLine(i, false);
|
||||
// FIXME: when a row is set as caption, then also insert a caption
|
||||
// dispatch(FuncRequest(LFUN_CAPTION_INSERT));
|
||||
// When a row is set as caption, then also insert a caption. Otherwise
|
||||
// the LaTeX output is broken, when the user don't add a caption.
|
||||
dispatch(FuncRequest(LFUN_CAPTION_INSERT));
|
||||
} else {
|
||||
unsetMultiColumn(i);
|
||||
// FIXME: when unsetting a caption row, also all existing captions
|
||||
|
Loading…
Reference in New Issue
Block a user