Op 29-10-2010 3:18, uwesto...@lyx.org schreef:
Modified: lyx-devel/trunk/src/insets/InsetTabular.cpp
==============================================================================
--- lyx-devel/trunk/src/insets/InsetTabular.cpp Fri Oct 29 02:46:21 2010
(r35893)
+++ lyx-devel/trunk/src/insets/InsetTabular.cpp Fri Oct 29 03:18:18 2010
(r35894)
@@ -4313,6 +4313,9 @@
break;
case Tabular::SET_LONGTABULAR:
+ // setting as longtable is not allowed when table is
inside a float
+ if (cur.innerInsetOfType(FLOAT_CODE) != 0)
+ status.setEnabled(false);
status.setOnOff(tabular.is_long_tabular);
break;
What about Wrap floats ? These have the code WRAP_CODE.
Vincent