mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35895 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a0b84e0ba0
commit
c378fede8b
@ -4314,7 +4314,8 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
|
||||
case Tabular::SET_LONGTABULAR:
|
||||
// setting as longtable is not allowed when table is inside a float
|
||||
if (cur.innerInsetOfType(FLOAT_CODE) != 0)
|
||||
if (cur.innerInsetOfType(FLOAT_CODE) != 0
|
||||
|| cur.innerInsetOfType(WRAP_CODE) != 0)
|
||||
status.setEnabled(false);
|
||||
status.setOnOff(tabular.is_long_tabular);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user