beabfeb
--- mc-4.6.1a/src/file.c.delcheck	2006-01-11 20:02:10.000000000 +0100
beabfeb
+++ mc-4.6.1a/src/file.c	2006-01-11 21:38:45.000000000 +0100
beabfeb
@@ -1758,6 +1758,10 @@ panel_operate (void *source_panel, FileO
beabfeb
     free_linklist (&linklist);
beabfeb
     free_linklist (&dest_dirs);
beabfeb
 
beabfeb
+    /* Update panel contents to avoid actions on deleted files */
beabfeb
+    update_panels (UP_RELOAD, UP_KEEPSEL);
beabfeb
+    repaint_screen ();
beabfeb
+
beabfeb
     if (single_entry) {
beabfeb
 	if (force_single) {
beabfeb
 	    source = selection (panel)->fname;