From fb21b6c75781351db7306444ca4bd0ed14e44fe1 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 6 May 2014 11:10:09 +0400 Subject: [PATCH] Ticket #3209: fix crash when file(s) deleting. Signed-off-by: Andrew Borodin --- src/filemanager/filegui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/filemanager/filegui.c b/src/filemanager/filegui.c index 9b0a9c8f4..dfc88ca8e 100644 --- a/src/filemanager/filegui.c +++ b/src/filemanager/filegui.c @@ -1087,7 +1087,10 @@ file_progress_show_deleting (file_op_context_t * ctx, const char *s, size_t * co return; ui = ctx->ui; - label_set_text (ui->src_file_label, _("Deleting")); + + if (ui->src_file_label != NULL) + label_set_text (ui->src_file_label, _("Deleting")); + label_set_text (ui->src_file, truncFileStringSecure (ui->op_dlg, s)); if (count != NULL)