From 54d7198819fee2630dee644c149320a5ad4a5b88 Mon Sep 17 00:00:00 2001 From: jishengjie Date: Wed, 14 Dec 2022 15:42:32 +0800 Subject: fix: Encrypted documents in all formats cannot be successfully pasted to the specified directory after copying and cutting encrypted files and folders --- src/fr-command.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/fr-command.c b/src/fr-command.c index d840acf..2305032 100644 --- a/src/fr-command.c +++ b/src/fr-command.c @@ -608,14 +608,19 @@ fr_command_list (FrCommand *comm) fr_process_use_standard_locale (comm->process, TRUE); comm->multi_volume = FALSE; - if (! comm->fake_load) + if (! comm->fake_load) { FR_COMMAND_GET_CLASS (G_OBJECT (comm))->list (comm); - else + } else { + comm->process->error.type = FR_PROC_ERROR_NONE; + comm->process->error.status = 0; + g_clear_error (&comm->process->error.gerror); + g_signal_emit (G_OBJECT (comm), fr_command_signals[DONE], 0, comm->action, &comm->process->error); + } } void -- cgit v1.2.1