InsetBox:

* update the button label when a parameter is changed.
* Get rid of unused LFUN_INSET_DIALOG_UPDATE dispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33486 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2010-02-16 12:55:05 +00:00
parent 3a26a8d9d7
commit 175c03336e

View File

@ -201,13 +201,10 @@ void InsetBox::doDispatch(Cursor & cur, FuncRequest & cmd)
params_.type = cmd.getArg(1);
else
string2params(to_utf8(cmd.argument()), params_);
setButtonLabel();
break;
}
case LFUN_INSET_DIALOG_UPDATE:
cur.bv().updateDialog("box", params2string(params_));
break;
default:
InsetCollapsable::doDispatch(cur, cmd);
break;