mirror of
https://github.com/godotengine/godot.git
synced 2024-09-20 22:42:43 +00:00
parent
491ded1898
commit
44592c8c19
|
@ -2375,7 +2375,7 @@ int RichTextLabel::_find_list(Item *p_item, Vector<int> &r_index, Vector<ItemLis
|
|||
|
||||
int index = 1;
|
||||
if (frame != nullptr) {
|
||||
for (int i = list->line + 1; i <= prev_item->line; i++) {
|
||||
for (int i = list->line + 1; i <= prev_item->line && i < (int)frame->lines.size(); i++) {
|
||||
if (_find_list_item(frame->lines[i].from) == list) {
|
||||
index++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user