From 33d544f472b4bcd28297eaea3c29636a3e795224 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 18 Dec 2013 12:37:12 -0500 Subject: [PATCH] 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. --- tui/newt/nmt-newt-form.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tui/newt/nmt-newt-form.c b/tui/newt/nmt-newt-form.c index ff8eb83609..20caecc455 100644 --- a/tui/newt/nmt-newt-form.c +++ b/tui/newt/nmt-newt-form.c @@ -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) {