Skip to content

[stable5.7] fix(textblocks): guard removal of non existing text block#12598

Open
backportbot[bot] wants to merge 1 commit intostable5.7from
backport/12544/stable5.7
Open

[stable5.7] fix(textblocks): guard removal of non existing text block#12598
backportbot[bot] wants to merge 1 commit intostable5.7from
backport/12544/stable5.7

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 18, 2026

Backport of PR #12544

findIndex returns -1 when it can't find an element. -1 in splice will
return the last element of the array.

Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant