]> git.lyx.org Git - lyx.git/commitdiff
InsetCaption.cpp: add a comment
authorUwe Stöhr <uwestoehr@web.de>
Wed, 9 Dec 2009 23:36:59 +0000 (23:36 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 9 Dec 2009 23:36:59 +0000 (23:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32443 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetCaption.cpp

index 9a4af662089ef95a23f3ca2d2a3e1b40bb6bfd5c..7f96e35433c894d804b33572fbfef44c474c8666 100644 (file)
@@ -167,6 +167,7 @@ Inset * InsetCaption::editXY(Cursor & cur, int x, int y)
 bool InsetCaption::insetAllowed(InsetCode code) const
 {
        switch (code) {
+       // code that is not allowed in a caption
        case FLOAT_CODE:
        case TABULAR_CODE:
        case WRAP_CODE: