From e41d5b4ae4f963d83732e4bb5aa013d22a317828 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Thu, 3 Aug 2023 00:51:58 +0800 Subject: [PATCH] Fix: insight_row() early stopped on empty list --- module/ui/draggable_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ui/draggable_list.py b/module/ui/draggable_list.py index 54cf4fb2c..e77473946 100644 --- a/module/ui/draggable_list.py +++ b/module/ui/draggable_list.py @@ -168,7 +168,7 @@ class DraggableList: self.load_rows(main=main) # End - if self.cur_min <= row_index <= self.cur_max: + if self.cur_buttons and self.cur_min <= row_index <= self.cur_max: break # Drag pages