From 67212a0d2e3ce017cf92775d51684d3af78170f3 Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Mon, 8 Jul 2019 16:59:13 +0200 Subject: [PATCH] PaginatedWithButtons fix, fixes #306 --- core/src/trezor/ui/scroll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/trezor/ui/scroll.py b/core/src/trezor/ui/scroll.py index b5c9866e6..dcfdb6835 100644 --- a/core/src/trezor/ui/scroll.py +++ b/core/src/trezor/ui/scroll.py @@ -135,13 +135,13 @@ class PageWithButtons(ui.Control): if self.index == 0: self.paginated.on_cancel() else: - self.paginated.on_down() + self.paginated.on_up() def on_right(self): if self.index == self.count - 1: self.paginated.on_confirm() else: - self.paginated.on_up() + self.paginated.on_down() class PaginatedWithButtons(ui.Layout):