Ignore deleted material when generating a proposed label.

(cherry picked from commit d9ebf6e2c7)
This commit is contained in:
Richard Heck 2018-04-03 18:38:46 -04:00
parent 1696d26b20
commit 935442aaba
2 changed files with 3 additions and 1 deletions

View File

@ -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', '-');

View File

@ -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