Ticket #3846: 3846_mcview_hook.patch

File 3846_mcview_hook.patch, 511 bytes (added by andrew_b, 5 years ago)
  • src/viewer/actions_cmd.c

    diff --git a/src/viewer/actions_cmd.c b/src/viewer/actions_cmd.c
    index 3e23469..83eaa77 100644
    a b mcview_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void * 
    692692        if (mcview_is_in_panel (view)) 
    693693        { 
    694694            delete_hook (&select_file_hook, mcview_hook); 
     695            delete_hook (&idle_hook, mcview_hook); 
    695696 
    696697            if (mc_global.midnight_shutdown) 
    697698                mcview_ok_to_quit (view);