From: Uwe Stöhr Date: Wed, 9 Dec 2009 23:36:59 +0000 (+0000) Subject: InsetCaption.cpp: add a comment X-Git-Tag: 2.0.0~4869 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fea997f075aa1521446bdee8dd27498ff943fe5c;p=features.git InsetCaption.cpp: add a comment git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32443 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp index 9a4af66208..7f96e35433 100644 --- a/src/insets/InsetCaption.cpp +++ b/src/insets/InsetCaption.cpp @@ -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: