]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetBox.cpp
index ed131d50934a1f0a86dcbf0dc5b9ce7650442241..c88866d3d3c849a925ee19e7bb9df9ccc6015ac1 100644 (file)
@@ -155,8 +155,6 @@ void InsetBox::setButtonLabel()
        label += ")";
 
        setLabel(label);
-
-       setLabelColor(Color_foreground);
 }
 
 
@@ -199,7 +197,6 @@ void InsetBox::doDispatch(Cursor & cur, FuncRequest & cmd)
                //lyxerr << "InsetBox::dispatch MODIFY" << endl;
                InsetBoxMailer::string2params(to_utf8(cmd.argument()), params_);
                setLayout(cur.buffer().params());
-               setButtonLabel();
                break;
        }