Jean-Marc Lasgouttes wrote:
> Just a remark:
>
> case LFUN_INSET_INSERT: {
> //lyxerr << "arg: " << cmd.argument << endl;
> string const name = cmd.getArg(0);
> - if (name == "label") {
>
> It would be better to assert on `name == "label"'.Don't you trust the getStatus machinery? From the last discussions we had about this topic I remember that doDispatch() cannot be called if getStatus says so. Is my memory wrong? Georg
