mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(dlg_init): get rid of extra dialog draws.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3a3171c990
commit
b3fb596040
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user