fix pagedown in some panels

This commit is contained in:
Hisham Muhammad 2011-12-14 23:30:16 +00:00
parent 9c44f589d2
commit 59d5eecdfd
2 changed files with 4 additions and 2 deletions

View File

@ -48,7 +48,8 @@ static HandlerResult AvailableColumnsPanel_eventHandler(Panel* super, int ch) {
} }
default: default:
{ {
result = Panel_selectByTyping(super, ch); if (isalpha(ch))
result = Panel_selectByTyping(super, ch);
break; break;
} }
} }

View File

@ -62,7 +62,8 @@ static HandlerResult ColumnsPanel_eventHandler(Panel* super, int ch) {
} }
default: default:
{ {
result = Panel_selectByTyping(super, ch); if (isalpha(ch))
result = Panel_selectByTyping(super, ch);
if (result == BREAK_LOOP) if (result == BREAK_LOOP)
result = IGNORED; result = IGNORED;
break; break;