Merge branch '4408_panels_redraw'

* 4408_panels_redraw:
  Ticket #4408: incorrect redraw of overlapped file panels.
This commit is contained in:
Andrew Borodin 2023-03-19 20:10:30 +03:00
commit ee76cb0ced
1 changed files with 3 additions and 2 deletions

View File

@ -3537,10 +3537,11 @@ panel_operate (void *source_panel, FileOperation operation, gboolean force_singl
file_op_total_context_destroy (tctx);
ret_fast:
/* update panels before redraw screen in file_op_total_context_destroy() */
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
file_op_context_destroy (ctx);
update_panels (UP_OPTIMIZE, UP_KEEPSEL);
repaint_screen ();
return ret_val;
}