Richard Heck wrote:
Abdelrazak Younes wrote:
Jürgen Spitzmüller wrote:
BTW Abdel, while you are at it, there's also still bug 4260:
http://bugzilla.lyx.org/show_bug.cgi?id=4260
With trunk, trying to reproduce the bug, I got this:
LyX: InsetCommand: Attempt to change type of parameters. [around line
1 of file
]
Warning: InsetCommand Error:
----------------------------------------
Attempt to change type of parameters.
That's from the changes I made to InsetCommandParams, but I'd need to
know more to know why it's triggered. It's supposed to be triggered only
if there is an attempt to change the type of inset for which an
InsetCommandParams is the params, which shouldn't happen.
But it happens in GuiToc. There params_ is unique and is reinitialized
whenever the selected type is changed. You can reproduce this by
following the step in http://bugzilla.lyx.org/show_bug.cgi?id=4260
I am thinking of getting rid completely of this params_ member and parse
the command directly in GuiToc::initializeParams().
Abdel.