- This entry in InsertUrl.cpp

InsetUrl::InsetUrl(InsetCommandParams const & p)
        : InsetCommand(p, "url")
{}

leads to a crash in InsetCommandparams.cpp line 46. Because when the user uses the hyperlink checkbox in the URL-dialog, the inset Type has changed - what is correct and wanted.

---

- InsetCommandParams.cpp line 321:

if (!insetType_.empty() && insetType != insetType_) {
                        lex.printError("InsetCommand: Attempt to change type of 
parameters.");

This check prevents insets from beeing switched. But this is currently done in the URL dialog and will also in future be. We furthermore need to change insets when e.g. the wrap floats are merged with the other floats.
So this check needn't to be there.

---

- When I e.g. create an "href" inset and add entries for it to getDefaultCmd and findInfo, href insets can't be opened in LyX.

regards Uwe

Reply via email to