mirror of
https://github.com/aclist/dztui.git
synced 2026-11-03 08:32:10 +01:00
fix: repack certain pages to support mixins
This commit is contained in:
1 parent
fb47564618
commit
1c154a709d
4 files changed
+23
-13
No files matched your search
@@ -37,7 +37,11 @@ class CursorMixin:
|
||||
end = len(model) - 1
|
||||
else:
|
||||
return False
|
||||
cur_row = self.get_focused_row_index() # type: ignore
|
||||
|
||||
try:
|
||||
cur_row = self.get_focused_row_index() # type: ignore
|
||||
except Exception:
|
||||
return
|
||||
|
||||
if position == CursorPosition.DOWN:
|
||||
if cur_row == end:
|
||||
|
||||
Reference in new issue
Block a user