store the states without the zero values removed as this.states
This commit is contained in:
parent
cbcd277d91
commit
59b7a175eb
|
@ -114,6 +114,7 @@ Deluge.FilterPanel = Ext.extend(Ext.Panel, {
|
|||
* Update the states in the FilterPanel
|
||||
*/
|
||||
updateStates: function(states) {
|
||||
this.states = states;
|
||||
var show_zero = (this.show_zero == null) ? deluge.config.sidebar_show_zero : this.show_zero;
|
||||
if (!show_zero) {
|
||||
var newStates = [];
|
||||
|
|
Loading…
Reference in New Issue