From 0857af98d04150563904203452f27c0151cecb46 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Fri, 30 Apr 2010 22:06:49 +0100 Subject: [PATCH] fix the spinner limits in the label options --- deluge/plugins/label/label/data/label.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/deluge/plugins/label/label/data/label.js b/deluge/plugins/label/label/data/label.js index e5d564f87..095d6ce5c 100644 --- a/deluge/plugins/label/label/data/label.js +++ b/deluge/plugins/label/label/data/label.js @@ -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 }] }] }]