fix updating on tab change

This commit is contained in:
Damien Churchill 2009-04-22 00:12:12 +00:00
parent 6d4eae15a5
commit cadfb5632f
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ Copyright:
Ext.deluge.details.TabPanel.superclass.onRender.call(this, ct, position);
Deluge.Events.on('disconnect', this.clear, this);
Deluge.Torrents.on('rowclick', this.onTorrentsClick, this);
this.on('tabchange', this.onTabChange, this);
Deluge.Torrents.getSelectionModel().on('selectionchange', function(selModel) {
if (!selModel.hasSelection()) this.clear();

File diff suppressed because one or more lines are too long