(dlg_init): get rid of extra dialog draws.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-01-01 16:09:07 +03:00
parent 3a3171c990
commit b3fb596040

View File

@ -538,8 +538,7 @@ dlg_init (WDialog * h)
group_set_current_widget_next (g);
widget_set_state (wh, WST_ACTIVE, TRUE);
/* draw dialog and focus found widget */
widget_set_state (wh, WST_FOCUSED, TRUE);
widget_draw (wh);
h->ret_value = 0;
}