Ticket #2530: mc-4.8.0-reset-after-store.diff

File mc-4.8.0-reset-after-store.diff, 358 bytes (added by vitalif, 4 years ago)

Reset selection after copying it to the clipboard patch

  • src/editor/editcmd.c

    edit_copy_to_X_buf_cmd (WEdit * edit) 
    26072607    /* try use external clipboard utility */ 
    26082608    mc_event_raise (MCEVENT_GROUP_CORE, "clipboard_file_to_ext_clip", NULL); 
    26092609 
     2610    edit_mark_cmd (edit, 1); 
    26102611    return 0; 
    26112612} 
    26122613