From 6192d3dbbfb2ff07ab15f90b013d9adebf9714d3 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 18 Apr 2009 16:02:36 +0000 Subject: [PATCH] InsetPrintIndex: Fix getStatus() for INSET_MODIFY. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29315 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetIndex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5