BUGFIX #79: Numpad editor freeze

There code was exiting from ui_process_keypad without redrawing and switching ui_mode.
This commit is contained in:
Damiano Bortolato 2019-12-25 09:23:28 +01:00
parent 6a88f8ed8f
commit aa503ceb96

8
ui.c
View file

@ -2105,10 +2105,10 @@ ui_process_keypad(void)
if (key >= 0 && keypad_click(key)) if (key >= 0 && keypad_click(key))
/* exit loop on done or cancel */ /* exit loop on done or cancel */
break; break;
else if (key == -2) { // else if (key == -2) {
//xxx; // //xxx;
return; // return;
} // }
} }
} }