From: Uwe Stöhr Date: Fri, 29 Oct 2010 01:38:58 +0000 (+0000) Subject: GuiTabular.cpp: table caption inside table is only allowed for longtables (fixes... X-Git-Tag: 2.0.0~2197 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b47d15cb71b2f65cdf779fbf1a8a38ff58137695;p=features.git 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 --- 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));