better check for notify type
[geeqie.git] / src / collect-io.c
index 97a3df4..139d696 100644 (file)
@@ -928,7 +928,7 @@ void collect_manager_flush(void)
 void collect_manager_notify_cb(FileData *fd, NotifyType type, gpointer data)
 {
 
-       if (!fd->change) return;
+       if (type != NOTIFY_TYPE_CHANGE || !fd->change) return;
        
        switch(fd->change->type)
                {