remove an extra creation of the options manager
This commit is contained in:
parent
97163b7cb0
commit
4014b3fba9
|
@ -90,8 +90,6 @@ Ext.deluge.PreferencesWindow = Ext.extend(Ext.Window, {
|
||||||
this.addButton(_('Apply'), this.onApply, this);
|
this.addButton(_('Apply'), this.onApply, this);
|
||||||
this.addButton(_('Ok'), this.onOk, this);
|
this.addButton(_('Ok'), this.onOk, this);
|
||||||
|
|
||||||
this.optionsManager = new Deluge.OptionsManager();
|
|
||||||
|
|
||||||
this.pages = {};
|
this.pages = {};
|
||||||
this.optionsManager = new Deluge.OptionsManager();
|
this.optionsManager = new Deluge.OptionsManager();
|
||||||
this.on('show', this.onShow, this);
|
this.on('show', this.onShow, this);
|
||||||
|
|
Loading…
Reference in New Issue