logic was reversed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30569 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-07-14 16:00:22 +00:00
parent 1b22f12b14
commit bec171ed32

View File

@ -2802,7 +2802,7 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
case LFUN_TEXTSTYLE_UPDATE: case LFUN_TEXTSTYLE_UPDATE:
case LFUN_TOC_INSERT: case LFUN_TOC_INSERT:
case LFUN_WRAP_INSERT: case LFUN_WRAP_INSERT:
if (!cur.inset().getLayout().isPassThru()) if (cur.inset().getLayout().isPassThru())
enable = false; enable = false;
break; break;
default: default: