]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
InsetBox.cpp: add important note
[lyx.git] / src / insets / InsetIndex.cpp
index f85ea2d044555bb15df3644f42d90f803cbe6299..bec5a90e097d7ac298753d86afa0e13728f943f4 100644 (file)
@@ -244,8 +244,7 @@ bool InsetIndex::getStatus(Cursor & cur, FuncRequest const & cmd,
                                from_utf8(cmd.getArg(1)) == params_.index);
                        return true;
                }
-               flag.setEnabled(true);
-               return true;
+               return InsetCollapsable::getStatus(cur, cmd, flag);
 
        case LFUN_INSET_DIALOG_UPDATE: {
                Buffer const & realbuffer = *buffer().masterBuffer();