fix the spinner limits in the label options

This commit is contained in:
Damien Churchill 2010-04-30 22:06:49 +01:00
parent 5e78daf726
commit 0857af98d0
1 changed files with 8 additions and 4 deletions

View File

@ -147,25 +147,29 @@ Deluge.ux.LabelOptionsWindow = Ext.extend(Ext.Window, {
name: 'down_speed',
width: 80,
disabled: true,
value: -1
value: -1,
minValue: -1
}, {
fieldLabel: _('Upload Speed'),
name: 'up_speed',
width: 80,
disabled: true,
value: -1
value: -1,
minValue: -1
}, {
fieldLabel: _('Upload Slots'),
name: 'upload_slots',
width: 80,
disabled: true,
value: -1
value: -1,
minValue: -1
}, {
fieldLabel: _('Connections'),
name: 'connections',
width: 80,
disabled: true,
value: -1
value: -1,
minValue: -1
}]
}]
}]