mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
store the states without the zero values removed as this.states
This commit is contained in:
parent
cbcd277d91
commit
59b7a175eb
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ Deluge.FilterPanel = Ext.extend(Ext.Panel, {
|
||||||
* Update the states in the FilterPanel
|
* Update the states in the FilterPanel
|
||||||
*/
|
*/
|
||||||
updateStates: function(states) {
|
updateStates: function(states) {
|
||||||
|
this.states = states;
|
||||||
var show_zero = (this.show_zero == null) ? deluge.config.sidebar_show_zero : this.show_zero;
|
var show_zero = (this.show_zero == null) ? deluge.config.sidebar_show_zero : this.show_zero;
|
||||||
if (!show_zero) {
|
if (!show_zero) {
|
||||||
var newStates = [];
|
var newStates = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue