mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
* InsetTabular.cpp:
- only set/unset a caption if necessary. This fixes the setting of multicols via dialog (part of bug 6985) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35929 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
023afde520
commit
a3a51b545c
@ -5383,6 +5383,8 @@ void InsetTabular::tabularFeatures(Cursor & cur,
|
||||
break;
|
||||
|
||||
case Tabular::SET_LTCAPTION: {
|
||||
if (tabular.ltCaption(row))
|
||||
break;
|
||||
cur.idx() = tabular.setLTCaption(row, true);
|
||||
cur.pit() = 0;
|
||||
cur.pos() = 0;
|
||||
@ -5395,6 +5397,8 @@ void InsetTabular::tabularFeatures(Cursor & cur,
|
||||
}
|
||||
|
||||
case Tabular::UNSET_LTCAPTION: {
|
||||
if (!tabular.ltCaption(row))
|
||||
break;
|
||||
cur.idx() = tabular.setLTCaption(row, false);
|
||||
cur.pit() = 0;
|
||||
cur.pos() = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user