From aa503ceb965bafdd24c1e3a7caca6cd998c444e3 Mon Sep 17 00:00:00 2001 From: Damiano Bortolato Date: Wed, 25 Dec 2019 09:23:28 +0100 Subject: [PATCH] BUGFIX #79: Numpad editor freeze There code was exiting from ui_process_keypad without redrawing and switching ui_mode. --- ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui.c b/ui.c index 378125b..0273a48 100644 --- a/ui.c +++ b/ui.c @@ -2105,10 +2105,10 @@ ui_process_keypad(void) if (key >= 0 && keypad_click(key)) /* exit loop on done or cancel */ break; - else if (key == -2) { - //xxx; - return; - } +// else if (key == -2) { +// //xxx; +// return; +// } } }