From 307ffe734ae3d5f16ed19cba44243e98ef4e7e84 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 18 Nov 2011 01:39:18 +0000 Subject: [PATCH] Fix #1941 : Increase UIs max cache value to 999999 (15GiB) --- deluge/ui/gtkui/glade/preferences_dialog.ui | 2 +- deluge/ui/web/js/deluge-all/preferences/CachePage.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/glade/preferences_dialog.ui b/deluge/ui/gtkui/glade/preferences_dialog.ui index 23646290e..10f468ddb 100644 --- a/deluge/ui/gtkui/glade/preferences_dialog.ui +++ b/deluge/ui/gtkui/glade/preferences_dialog.ui @@ -118,7 +118,7 @@ 10 - 99999 + 999999 100 1 10 diff --git a/deluge/ui/web/js/deluge-all/preferences/CachePage.js b/deluge/ui/web/js/deluge-all/preferences/CachePage.js index 4afec2e6a..4635778af 100644 --- a/deluge/ui/web/js/deluge-all/preferences/CachePage.js +++ b/deluge/ui/web/js/deluge-all/preferences/CachePage.js @@ -56,7 +56,7 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, { defaults: { decimalPrecision: 0, minValue: -1, - maxValue: 99999 + maxValue: 999999 } }); om.bind('cache_size', fieldset.add({