summaryrefslogtreecommitdiff
path: root/poezio/windows/bookmark_forms.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-28 00:48:28 +0200
committermathieui <mathieui@mathieui.net>2020-05-28 00:50:03 +0200
commitc8ddc6329a5cf2f31a7021aac9a55f4d3f3c480d (patch)
tree124b73f0f6bd053893669220ca04c62b2f2efad1 /poezio/windows/bookmark_forms.py
parent1b8618d6906eaeb572f01dcf2c3e75887e2d4763 (diff)
downloadpoezio-c8ddc6329a5cf2f31a7021aac9a55f4d3f3c480d.tar.gz
poezio-c8ddc6329a5cf2f31a7021aac9a55f4d3f3c480d.tar.bz2
poezio-c8ddc6329a5cf2f31a7021aac9a55f4d3f3c480d.tar.xz
poezio-c8ddc6329a5cf2f31a7021aac9a55f4d3f3c480d.zip
Properly refresh the bookmarks method in the bookmarks tab
… … …
Diffstat (limited to 'poezio/windows/bookmark_forms.py')
-rw-r--r--poezio/windows/bookmark_forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/windows/bookmark_forms.py b/poezio/windows/bookmark_forms.py
index 28cab8ec..d538e6a2 100644
--- a/poezio/windows/bookmark_forms.py
+++ b/poezio/windows/bookmark_forms.py
@@ -269,7 +269,7 @@ class BookmarksWin(Win):
self.current_horizontal_input].set_color(
theme.COLOR_NORMAL_TEXT)
self.current_horizontal_input += 1
- if self.current_horizontal_input > 3:
+ if self.current_horizontal_input > 4:
self.current_horizontal_input = 0
self.lines[self.current_input][
self.current_horizontal_input].set_color(
@@ -363,7 +363,7 @@ class BookmarksWin(Win):
continue
if i >= self.height + self.scroll_pos:
break
- for j in range(4):
+ for j in range(5):
inp[j].refresh()
if self.lines and self.current_input < self.height - 1: