mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Fix bug #11102.
Ignore deleted material when generating a proposed label.
This commit is contained in:
parent
1a4404944b
commit
d9ebf6e2c7
@ -1979,7 +1979,7 @@ docstring Text::getPossibleLabel(DocIterator 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', '-');
|
||||
|
Loading…
Reference in New Issue
Block a user