Fix #7816: Edit->Table incorrectly activated inside index entries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39899 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2011-10-21 07:27:11 +00:00
parent beb87874e9
commit 4bddda4bd1

View 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();