InsetPrintIndex: Fix getStatus() for INSET_MODIFY.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29315 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-04-18 16:02:36 +00:00
parent edc70f0732
commit 6192d3dbbf

View File

@ -431,7 +431,7 @@ bool InsetPrintIndex::getStatus(Cursor & cur, FuncRequest const & cmd,
case LFUN_INSET_MODIFY: { case LFUN_INSET_MODIFY: {
if (cmd.getArg(0) == "index_print" if (cmd.getArg(0) == "index_print"
&& cmd.getArg(1) == "InsetCommand") { && cmd.getArg(1) == "CommandInset") {
InsetCommandParams p(INDEX_PRINT_CODE); InsetCommandParams p(INDEX_PRINT_CODE);
InsetCommand::string2params("index_print", InsetCommand::string2params("index_print",
to_utf8(cmd.argument()), p); to_utf8(cmd.argument()), p);