[WebUI] Disable disabling WebUi plugin in WebUI

This commit is contained in:
Calum Lind 2016-05-16 11:40:22 +01:00
parent b450739333
commit 2e08599f82
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
if (el.getAttribute('rel') != 'chkbox') return;
var r = dv.getStore().getAt(index);
if (r.get('plugin') == "WebUi") return;
r.set('enabled', !r.get('enabled'));
r.commit();
if (r.get('enabled')) {