(panel_operate): update panel content before screen refresh.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-09-05 15:46:41 +03:00
parent 022c3d2f94
commit 6623a9014f

View File

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