diff --git a/src/Text.cpp b/src/Text.cpp index d5d729a277..ed3650b8df 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -1977,7 +1977,7 @@ docstring Text::getPossibleLabel(Cursor const & cur) const Layout const * layout = &(pars_[pit].layout()); docstring text; - docstring par_text = pars_[pit].asString(); + docstring par_text = pars_[pit].asString(AS_STR_SKIPDELETE); // The return string of math matrices might contain linebreaks par_text = subst(par_text, '\n', '-'); diff --git a/status.23x b/status.23x index 45136970ee..9141412d92 100644 --- a/status.23x +++ b/status.23x @@ -134,6 +134,8 @@ What's new - Assure that the External Inset dialog is opened at first tab for new insets (bug 11081). +- Ignore deleted material when generating a proposed label (bug 11102). + * INTERNALS