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
1 changed files with 1 additions and 1 deletions

View File

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