From 22e6c7f21ab999999d23c426bb958bb3b258ea9b Mon Sep 17 00:00:00 2001 From: Jeff VanOss Date: Sat, 17 Dec 2016 13:02:14 -0500 Subject: [PATCH] insert new filter on top --- seedtime/data/seedtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seedtime/data/seedtime.js b/seedtime/data/seedtime.js index 50938f4..602c964 100644 --- a/seedtime/data/seedtime.js +++ b/seedtime/data/seedtime.js @@ -176,7 +176,7 @@ Deluge.ux.preferences.SeedTimePage = Ext.extend(Ext.Panel, { filterAdd: function() { console.log('filterAdd'); var store = this.filter_list.getStore(); - store.add(new store.recordType({ field : "tracker", filter : ".*", stoptime : 1.0})); + store.insert(0, new store.recordType({ field : "tracker", filter : ".*", stoptime : 1.0})); }, filterRemove: function() { var store = this.filter_list.getStore();