tui: fix keyboard focus problem

The keyboard focus was getting reset to the first widget any time a
widget changed validity, because the form wasn't updating priv->focus
when it should have.
This commit is contained in:
Dan Winship 2013-12-18 12:37:12 -05:00
parent d3170f3f1b
commit 33d544f472

View file

@ -273,8 +273,6 @@ nmt_newt_form_iterate (NmtNewtForm *form)
newtFormSetTimer (priv->form, 1);
newtFormRun (priv->form, &es);
if (es.reason == NEWT_EXIT_TIMER)
return;
if ( es.reason == NEWT_EXIT_HOTKEY
|| es.reason == NEWT_EXIT_ERROR) {