Ignore additional include filters added by user while restoring snapshot

This commit is contained in:
Tony George 2018-01-25 10:55:01 +05:30
parent 6bf82aa5f4
commit 7a58b080ca

View File

@ -771,6 +771,10 @@ public class Main : GLib.Object{
//add user entries from current settings
foreach(string path in exclude_list_user){
// skip include filters for restore
if (path.strip().has_prefix("+")){ continue; }
if (!exclude_list_restore.contains(path) && !exclude_list_home.contains(path)){
exclude_list_restore.add(path);
}