]> git.lyx.org Git - features.git/commitdiff
InsetPrintIndex: Fix getStatus() for INSET_MODIFY.
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 18 Apr 2009 16:02:36 +0000 (16:02 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 18 Apr 2009 16:02:36 +0000 (16:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29315 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetIndex.cpp

index f086f8ff121ba3c7c0482025202806d2624e0b7a..c14c52bb1c839e83331744e16be847766a208385 100644 (file)
@@ -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);