Module: deluge
Branch: master
Commit: 0857af98d04150563904203452f27c0151cecb46

Author: Damien Churchill <[email protected]>
Date:   Fri Apr 30 22:06:49 2010 +0100

fix the spinner limits in the label options

---

 deluge/plugins/label/label/data/label.js |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/deluge/plugins/label/label/data/label.js 
b/deluge/plugins/label/label/data/label.js
index e5d564f..095d6ce 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
                                                }]
                                        }]
                                }]

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to