From: Vincent van Ravesteijn Date: Sat, 18 Apr 2009 16:02:36 +0000 (+0000) Subject: InsetPrintIndex: Fix getStatus() for INSET_MODIFY. X-Git-Tag: 2.0.0~6802 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6192d3dbbfb2ff07ab15f90b013d9adebf9714d3;p=lyx.git InsetPrintIndex: Fix getStatus() for INSET_MODIFY. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29315 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index f086f8ff12..c14c52bb1c 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -431,7 +431,7 @@ bool InsetPrintIndex::getStatus(Cursor & cur, FuncRequest const & cmd, case LFUN_INSET_MODIFY: { if (cmd.getArg(0) == "index_print" - && cmd.getArg(1) == "InsetCommand") { + && cmd.getArg(1) == "CommandInset") { InsetCommandParams p(INDEX_PRINT_CODE); InsetCommand::string2params("index_print", to_utf8(cmd.argument()), p);