From b47d15cb71b2f65cdf779fbf1a8a38ff58137695 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 29 Oct 2010 01:38:58 +0000 Subject: [PATCH] GuiTabular.cpp: table caption inside table is only allowed for longtables (fixes regression to LyX 1.6.x) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35896 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiTabular.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index 8ec1164148..90314bbf05 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -229,7 +229,8 @@ void GuiTabular::checkEnabled() lastfooterBorderBelowCB->setEnabled(longtabular && lastfooterBorderAboveCB->isChecked()); - captionStatusCB->setEnabled(funcEnabled(Tabular::TOGGLE_LTCAPTION)); + captionStatusCB->setEnabled(funcEnabled(Tabular::TOGGLE_LTCAPTION) + && longtabular); multicolumnCB->setEnabled(funcEnabled(Tabular::MULTICOLUMN)); multirowCB->setEnabled(funcEnabled(Tabular::MULTIROW)); -- 2.39.2