fix bug where creating a new folder wth inheriting properties doesn't write processin...
authorPaul <paul@claws-mail.org>
Sun, 18 Nov 2018 17:23:35 +0000 (17:23 +0000)
committerPaul <paul@claws-mail.org>
Sun, 18 Nov 2018 17:23:35 +0000 (17:23 +0000)
after copying folder with 'inherit properties from parent folder' set,
the processing rules are (initially) present in the processing rules
dialogue, but are not actually written. So on a restart they are 'lost'.

This is probably the actual bug 4121, ' Moving a subfolder in another
folder erases  its processing rules', rather than the description given.

src/folder_item_prefs.c

index 78465515c3b254bba86b2a0cb2df669e15be50bb..9dc815b730ecf01abc3f15c30c606ec7db182ecc 100644 (file)
@@ -336,6 +336,7 @@ void folder_item_prefs_copy_prefs(FolderItem * src, FolderItem * dest)
 
        *dest->prefs = tmp_prefs;
        folder_item_prefs_save_config(dest);
+       prefs_matcher_write_config();
 
        dest->collapsed = src->collapsed;
        dest->thread_collapsed = src->thread_collapsed;