]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.cpp
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetIndex.cpp
index 84b5889d4f2289df8a411b8f1c4643257a577d05..4fdbfc502ef028667e99fbcf04f76d88be367bdd 100644 (file)
@@ -246,16 +246,6 @@ bool InsetIndex::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-docstring const InsetIndex::buttonLabel(BufferView const & bv) const
-{
-       docstring s = _("Idx");
-       if (decoration() == InsetLayout::CLASSIC)
-               return isOpen(bv) ? s : getNewLabel(s);
-       else
-               return getNewLabel(s);
-}
-
-
 ColorCode InsetIndex::labelColor() const
 {
        if (params_.index.empty() || params_.index == from_ascii("idx"))