]> git.lyx.org Git - features.git/commitdiff
GuiTabular.cpp: table caption inside table is only allowed for longtables (fixes...
authorUwe Stöhr <uwestoehr@web.de>
Fri, 29 Oct 2010 01:38:58 +0000 (01:38 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 29 Oct 2010 01:38:58 +0000 (01:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35896 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiTabular.cpp

index 8ec1164148f4e8110dcd28272116f7968b0d87d5..90314bbf055af96457cb1bcf3b960e5becfafd7b 100644 (file)
@@ -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));