aboutsummaryrefslogtreecommitdiff
path: root/src/settings-manager.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings-manager.vala')
-rw-r--r--src/settings-manager.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings-manager.vala b/src/settings-manager.vala
index 6800423..7acc3b1 100644
--- a/src/settings-manager.vala
+++ b/src/settings-manager.vala
@@ -41,7 +41,8 @@ public class SettingsManager : GLib.Object
var interested = this.settings.get_strv ("interested-media-players");
var list = new ArrayList<string>();
foreach(var s in interested){
- if ( s in blacklisted ) continue;
+ if (s in list) continue;
+ if (s in blacklisted) continue;
list.add(s);
}
return list;