* dialog.c (do_select_widget): Walk the whole widgets list looking
for a widget accepting the focus.
Этот коммит содержится в:
родитель
612e8238c9
Коммит
42f676fd5f
@ -1,3 +1,8 @@
|
||||
2004-11-02 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* dialog.c (do_select_widget): Walk the whole widgets list looking
|
||||
for a widget accepting the focus.
|
||||
|
||||
2004-11-01 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* utilunix.c (mc_tmpdir): Use putenv(3) instead of setenv(3) if
|
||||
|
@ -427,7 +427,7 @@ do_select_widget (Dlg_head *h, Widget *w, select_dir_t dir)
|
||||
return;
|
||||
|
||||
h->current = w;
|
||||
while (h->current != w0) {
|
||||
do {
|
||||
if (dlg_focus (h))
|
||||
break;
|
||||
|
||||
@ -443,7 +443,7 @@ do_select_widget (Dlg_head *h, Widget *w, select_dir_t dir)
|
||||
dlg_focus (h);
|
||||
return;
|
||||
}
|
||||
}
|
||||
} while (h->current != w);
|
||||
|
||||
if (dlg_overlap (w0, h->current)) {
|
||||
send_message (h->current, WIDGET_DRAW, 0);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user