]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.cpp
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetBox.cpp
index 77e6a5b396915a07ba04a8814c247cf62e0551b0..3b7dec3e19a9ffe49e03f82a10025d903bf88b3c 100644 (file)
@@ -102,12 +102,6 @@ InsetBox::InsetBox(Buffer * buffer, string const & label)
 {}
 
 
-InsetBox::~InsetBox()
-{
-       hideDialogs("box", this);
-}
-
-
 docstring InsetBox::name() const 
 {
        // FIXME: UNICODE
@@ -190,14 +184,6 @@ bool InsetBox::forcePlainLayout(idx_type) const
 }
 
 
-bool InsetBox::showInsetDialog(BufferView * bv) const
-{
-       bv->showDialog("box", params2string(params_),
-               const_cast<InsetBox *>(this));
-       return true;
-}
-
-
 void InsetBox::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
        switch (cmd.action) {
@@ -208,13 +194,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;