summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-06-20 14:29:08 +0200
committerYorhel <git@yorhel.nl>2011-06-20 14:29:08 +0200
commit53efa77ff4f9fa5cc2237f4e576a715416f31493 (patch)
treeb1a156707d20c1188bdf97a8bff68b86aa3c9888
parent0df5513eb8df73cd687891b0ab9a3855b32e6b4b (diff)
fl_local.c: Don't show "File refresh complete" message when nothing is shared0.1
-rw-r--r--src/fl_local.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fl_local.c b/src/fl_local.c
index 1f2659e..38aae3c 100644
--- a/src/fl_local.c
+++ b/src/fl_local.c
@@ -785,7 +785,8 @@ static gboolean fl_refresh_scanned(gpointer dat) {
else {
// force a flush when all queued refreshes have been processed
fl_flush(NULL);
- ui_mf(ui_main, UIM_NOTIFY, "File list refresh finished.");
+ if(fl_local_list && fl_local_list->hastth)
+ ui_mf(ui_main, UIM_NOTIFY, "File list refresh finished.");
}
return FALSE;
}