fix bug in last commit
authorChristoph Hohmann <reboot@gmx.ch>
Sun, 30 Jun 2002 17:03:57 +0000 (17:03 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sun, 30 Jun 2002 17:03:57 +0000 (17:03 +0000)
src/folderview.c

index 8c73a2a..4d71ff7 100644 (file)
@@ -830,6 +830,7 @@ void folderview_rescan_all(void)
        for (; list != NULL; list = list->next) {
                Folder *folder = list->data;
 
+               if (!folder->scan_tree) continue;
                folder_set_ui_func(folder, folderview_scan_tree_func, NULL);
                folder->scan_tree(folder);
                folder_set_ui_func(folder, NULL, NULL);