mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
pass in true to the formatter so fsize doesn't ignore zero values
This commit is contained in:
parent
81d28b686f
commit
4929ba3c44
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ Ext.deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, {
|
|||
var limit = (config.limit.formatter) ? config.limit.formatter(config.limit.value) : config.limit.value;
|
||||
var str = String.format(config.format, value, limit);
|
||||
} else {
|
||||
var str = (config.value.formatter) ? config.value.formatter(config.value.value) : config.value.value;
|
||||
var str = (config.value.formatter) ? config.value.formatter(config.value.value, true) : config.value.value;
|
||||
}
|
||||
item.setText(str);
|
||||
}.createDelegate(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue