Fix: insight_row() early stopped on empty list

This commit is contained in:
LmeSzinc 2023-08-03 00:51:58 +08:00
parent fc91221240
commit e41d5b4ae4

View File

@ -168,7 +168,7 @@ class DraggableList:
self.load_rows(main=main) self.load_rows(main=main)
# End # End
if self.cur_min <= row_index <= self.cur_max: if self.cur_buttons and self.cur_min <= row_index <= self.cur_max:
break break
# Drag pages # Drag pages