summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-05-28 00:55:11 +0200
committerMaxime Buquet <pep@bouah.net>2020-05-28 00:55:11 +0200
commitec27e25ec9229747fb3641a02b1bdfa51560965e (patch)
tree124b73f0f6bd053893669220ca04c62b2f2efad1
parent1b8618d6906eaeb572f01dcf2c3e75887e2d4763 (diff)
parentc8ddc6329a5cf2f31a7021aac9a55f4d3f3c480d (diff)
downloadpoezio-ec27e25ec9229747fb3641a02b1bdfa51560965e.tar.gz
poezio-ec27e25ec9229747fb3641a02b1bdfa51560965e.tar.bz2
poezio-ec27e25ec9229747fb3641a02b1bdfa51560965e.tar.xz
poezio-ec27e25ec9229747fb3641a02b1bdfa51560965e.zip
Merge branch 'fix-bookmarks-tab-method' into 'master'
Properly refresh the bookmarks method in the bookmarks tab See merge request poezio/poezio!132
-rw-r--r--CHANGELOG2
-rw-r--r--poezio/windows/bookmark_forms.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index cf065224..695972e9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -21,6 +21,8 @@ https://dev.louiz.org/projects/poezio/roadmap
- Only send an unavailable presence on closing a room if we are joined.
- Don’t display the current date for history messages received today.
- Fix marquee and dice plugin to use newer Last Message Correction format.
+- Bookmarks tab properly displays bookmarks method (local/remote) and allows
+ to switch between them again.
# Forgotten additions
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: