From 65ce2748ebc842492842bcc87c2766abc420447f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Fri, 28 Oct 2011 06:33:39 +0000 Subject: [PATCH] Fix #7816: Edit->Table incorrectly activated inside index entries git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40046 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetIndex.cpp | 3 +-- status.20x | 9 ++++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index f85ea2d044..bec5a90e09 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -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(); diff --git a/status.20x b/status.20x index 7833ea4050..fca692fef1 100644 --- a/status.20x +++ b/status.20x @@ -191,11 +191,14 @@ What's new - Allow the \nocite LaTeX command when using the basic citation engine. -- tex2lyx does not produce invalid Flex insets anymore (bug 7780) +- tex2lyx does not produce invalid Flex insets anymore (bug 7780). -- Fix import of required arguments of standard environments (part of bug 7468) +- Fix import of required arguments of standard environments (part of bug + 7468). -- Fix display of section (etc) headings, in both TOC and menu, when there is +- Do not incorrectly activate Edit->Table inside index entries (bug 7816). + +- Fix display of section (etc.) headings, in both TOC and menu, when there is math in the title. - Correct handling of custom width in the nomenclature dialog (bug 7853). -- 2.39.5