]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetNote.cpp
Abdel thinks we should just get rid of this.
[features.git] / src / insets / InsetNote.cpp
index 1ab8edd95ab6a369dcbc8a7859663df82679a5f4..24a8b82cba02a4d42ab2d2f862124edcee976992 100644 (file)
@@ -154,17 +154,6 @@ void InsetNote::read(Lexer & lex)
 }
 
 
-void InsetNote::setButtonLabel()
-{
-       docstring label = getLayout().labelstring();
-       if (label.empty())
-               label = notetranslator_loc().find(params_.type);
-       else
-               label = translateIfPossible(label);
-       setLabel(label);
-}
-
-
 bool InsetNote::showInsetDialog(BufferView * bv) const
 {
        bv->showDialog("note", params2string(params()),