client: ConversationList.View: Fix keyboard navigation

Fix #1515
This commit is contained in:
Cédric Bellegarde 2023-07-12 14:52:33 +02:00
parent 1df9d26575
commit 50c8c7307d

View file

@ -167,9 +167,9 @@ public class ConversationList.View : Gtk.ScrolledWindow, Geary.BaseInterface {
int index = row.get_index();
if (scroll_type == Gtk.ScrollType.STEP_UP) {
row = this.list.get_row_at_index(index + 1);
} else {
row = this.list.get_row_at_index(index - 1);
} else {
row = this.list.get_row_at_index(index + 1);
}
if (row != null) {