]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.cpp
Display equation/theorem numbers in insert cross reference dialog.
[lyx.git] / src / mathed / InsetMathHull.cpp
index b33bb0d7114828b8ac3e54f1ac990a611be8b8b1..954f5651aa7a58a7ac11b36f485223b32c15edae 100644 (file)
@@ -313,8 +313,10 @@ void InsetMathHull::addToToc(DocIterator const & pit, bool output_active,
        for (row_type row = 0; row != nrows(); ++row) {
                if (!numbered(row))
                        continue;
-               if (label_[row])
+               if (label_[row]) {
+                       label_[row]->setPrettyCounter(_("Equation ") + numbers_[row]);
                        label_[row]->addToToc(pit, output_active, utype, backend);
+               }
                docstring label = nicelabel(row);
                if (first == last)
                        // this is the only equation