clear the options panel when the add window is closed

This commit is contained in:
Damien Churchill 2009-07-15 18:56:41 +00:00
parent 2450599789
commit 0490df5a42

View File

@ -454,8 +454,8 @@ Ext.deluge.add.AddWindow = Ext.extend(Ext.deluge.add.Window, {
}, },
clear: function() { clear: function() {
this.torrents = {};
this.grid.getStore().removeAll(); this.grid.getStore().removeAll();
this.optionsPanel.clear();
}, },
onAdd: function() { onAdd: function() {