diff --git a/src/Text3.cpp b/src/Text3.cpp index 7c8678158c..5a8b23afa1 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -2802,7 +2802,7 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd, case LFUN_TEXTSTYLE_UPDATE: case LFUN_TOC_INSERT: case LFUN_WRAP_INSERT: - if (!cur.inset().getLayout().isPassThru()) + if (cur.inset().getLayout().isPassThru()) enable = false; break; default: