mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +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);
|
group_set_current_widget_next (g);
|
||||||
|
|
||||||
widget_set_state (wh, WST_ACTIVE, TRUE);
|
widget_set_state (wh, WST_ACTIVE, TRUE);
|
||||||
/* draw dialog and focus found widget */
|
widget_draw (wh);
|
||||||
widget_set_state (wh, WST_FOCUSED, TRUE);
|
|
||||||
|
|
||||||
h->ret_value = 0;
|
h->ret_value = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user