mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Do not add deleted text to inset button label.
Fixes: #10775
(cherry picked from commit 70b0df85c8
)
This commit is contained in:
parent
25678dae12
commit
d088f7f03f
@ -423,6 +423,8 @@ docstring const InsetCollapsible::getNewLabel(docstring const & l) const
|
||||
pos_type i = 0;
|
||||
pos_type j = 0;
|
||||
for (; i < n && j < p_siz; ++j) {
|
||||
if (paragraphs().begin()->isDeleted(j))
|
||||
continue;
|
||||
if (paragraphs().begin()->isInset(j)) {
|
||||
if (!paragraphs().begin()->getInset(j)->isChar())
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user