* dlg.c (init_dlg): Redraw screen after selecting the focused
widget, not before. The bug affected file progress dialog with verbose operation off. Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
Этот коммит содержится в:
родитель
ac200c18ba
Коммит
586785c248
@ -1,5 +1,10 @@
|
||||
2002-10-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* dlg.c (init_dlg): Redraw screen after selecting the focused
|
||||
widget, not before. The bug affected file progress dialog with
|
||||
verbose operation off.
|
||||
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
|
||||
|
||||
* filegui.c (check_progress_buttons): Reinitialize ret_value to
|
||||
avoid old values after events other than selecting a button.
|
||||
Reported by Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
|
||||
|
@ -770,12 +770,13 @@ void init_dlg (Dlg_head *h)
|
||||
/* Initialize the mouse status */
|
||||
h->mouse_status = MOU_NORMAL;
|
||||
|
||||
/* Redraw the screen */
|
||||
dlg_redraw (h);
|
||||
|
||||
/* Select the first widget that takes focus */
|
||||
while (!dlg_focus (h) && h->current)
|
||||
h->current = h->current->next;
|
||||
|
||||
/* Redraw the screen */
|
||||
dlg_redraw (h);
|
||||
|
||||
h->ret_value = 0;
|
||||
h->running = 1;
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user