mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
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:
parent
3a26a8d9d7
commit
175c03336e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user