mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
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:
parent
edc70f0732
commit
6192d3dbbf
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user