mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
* main.c (midnight_callback): Don't redraw dirty panels if the
menubar is active.
This commit is contained in:
parent
a3a8b91ced
commit
60dda91b9f
@ -1,5 +1,8 @@
|
||||
2003-09-11 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* main.c (midnight_callback): Don't redraw dirty panels if the
|
||||
menubar is active.
|
||||
|
||||
* dlg.c (add_widget): New, safer implementation. Don't rely on
|
||||
the position of the first widget. Disable insertion into
|
||||
running dialogs - it's unused and cannot be tested.
|
||||
|
@ -1607,7 +1607,8 @@ midnight_callback (struct Dlg_head *h, dlg_msg_t msg, int parm)
|
||||
return MSG_HANDLED;
|
||||
|
||||
case DLG_POST_KEY:
|
||||
update_dirty_panels ();
|
||||
if (!the_menubar->active)
|
||||
update_dirty_panels ();
|
||||
return MSG_HANDLED;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user