diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp index 1ab8edd95a..24a8b82cba 100644 --- a/src/insets/InsetNote.cpp +++ b/src/insets/InsetNote.cpp @@ -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()), diff --git a/src/insets/InsetNote.h b/src/insets/InsetNote.h index 4f9ecff3e5..8022113891 100644 --- a/src/insets/InsetNote.h +++ b/src/insets/InsetNote.h @@ -78,8 +78,6 @@ private: void write(std::ostream &) const; /// void read(Lexer & lex); - /// - void setButtonLabel(); /// show the note dialog bool showInsetDialog(BufferView * bv) const; ///