diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index fe4f44b2cc..769a2aeff1 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -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;