]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4910 by creating InsetText::addToToc().
[lyx.git] / src / insets / InsetWrap.cpp
index 92dddaf489ae9ce548ab688adaaf615c787f3539..ad5036a26a9e4e5814c4a9a43e19e097136755de 100644 (file)
@@ -107,7 +107,7 @@ bool InsetWrap::getStatus(Cursor & cur, FuncRequest const & cmd,
        switch (cmd.action) {
        case LFUN_INSET_MODIFY:
        case LFUN_INSET_DIALOG_UPDATE:
-               flag.enabled(true);
+               flag.setEnabled(true);
                return true;
 
        default: