From c378fede8bd23299bb88c5d4385beb2b43ce5312 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 29 Oct 2010 01:29:53 +0000 Subject: [PATCH] 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 --- src/insets/InsetTabular.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index ffbe4f96a5..39819a3cd2 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -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; -- 2.39.2