mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* InsetCommand.cpp (decodeInsetParam):
- use correct params for INDEX_CODE and INDEX_PRINT_CODE (bug 7180). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37104 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8ba5c7f886
commit
06b84910e5
@ -29,6 +29,7 @@
|
||||
#include "insets/InsetExternal.h"
|
||||
#include "insets/InsetFloat.h"
|
||||
#include "insets/InsetGraphics.h"
|
||||
#include "insets/InsetIndex.h"
|
||||
#include "insets/InsetLine.h"
|
||||
#include "insets/InsetListings.h"
|
||||
#include "insets/InsetNote.h"
|
||||
@ -265,7 +266,7 @@ bool decodeInsetParam(string const & name, string & data,
|
||||
switch (code) {
|
||||
case BIBITEM_CODE:
|
||||
case BIBTEX_CODE:
|
||||
case INDEX_CODE:
|
||||
case INDEX_PRINT_CODE:
|
||||
case LABEL_CODE:
|
||||
case LINE_CODE:
|
||||
case NOMENCL_CODE:
|
||||
@ -317,6 +318,11 @@ bool decodeInsetParam(string const & name, string & data,
|
||||
data = InsetFloat::params2string(p);
|
||||
break;
|
||||
}
|
||||
case INDEX_CODE: {
|
||||
InsetIndexParams p;
|
||||
data = InsetIndex::params2string(p);
|
||||
break;
|
||||
}
|
||||
case LISTINGS_CODE: {
|
||||
InsetListingsParams p;
|
||||
data = InsetListings::params2string(p);
|
||||
|
Loading…
Reference in New Issue
Block a user