From 1cba96cbbb3a012038867d041007488912d41233 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 26 Jul 2013 04:43:45 +0200 Subject: [PATCH] fix popup navigation --- gui/gui_text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/gui_text.py b/gui/gui_text.py index 2958006ac..e04d36e4b 100644 --- a/gui/gui_text.py +++ b/gui/gui_text.py @@ -389,8 +389,8 @@ class ElectrumGui: c = self.stdscr.getch() if c in [ord('q'), 27]: break - elif c == curses.KEY_UP: self.popup_pos -= 1 - elif c == curses.KEY_DOWN: self.popup_pos +=1 + elif c in [curses.KEY_LEFT, curses.KEY_UP]: self.popup_pos -= 1 + elif c in [curses.KEY_RIGHT, curses.KEY_DOWN]: self.popup_pos +=1 else: i = self.popup_pos%numpos if buttons and c==10: