summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-21 18:05:49 +0100
committerinfirit <[email protected]>2014-11-22 20:25:30 +0100
commit02cd7f18c806194eabd1dee69d28b5e2f2b51344 (patch)
treecf110e54f3c56b05e4da084db49af755be068dfc
parent691e02b8f30a49c6b80d42b327f5425a6b4dda12 (diff)
downloadengrampa-02cd7f18c806194eabd1dee69d28b5e2f2b51344.tar.bz2
engrampa-02cd7f18c806194eabd1dee69d28b5e2f2b51344.tar.xz
do not update if the progress dialog is null
Based on FR commit: be63c259099367a73332be59b5bcee4d0c6519f1 From: Paolo Bacchilega <[email protected]>
-rw-r--r--src/fr-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 16bdfd4..ee4f47a 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -2361,6 +2361,9 @@ pd_update_archive_name (FrWindow *window)
{
char *current_archive;
+ if (window->priv->progress_dialog == NULL)
+ return;
+
if (window->priv->convert_data.converting)
current_archive = window->priv->convert_data.new_file;
else if (window->priv->working_archive != NULL)