Fix bug noted by Uwe.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20948 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-10-13 17:34:49 +00:00
parent f997928d57
commit 3b0bfc4c52

View File

@ -112,7 +112,7 @@ void InsetCommand::doDispatch(Cursor & cur, FuncRequest & cmd)
break;
case LFUN_INSET_MODIFY: {
InsetCommandParams p(p_.getCmdName());
InsetCommandParams p(p_.insetType());
InsetCommandMailer::string2params(mailer_name_, to_utf8(cmd.argument()), p);
if (p.getCmdName().empty())
cur.noUpdate();