fix updating on tab change
This commit is contained in:
parent
6d4eae15a5
commit
cadfb5632f
|
@ -61,6 +61,7 @@ Copyright:
|
||||||
Ext.deluge.details.TabPanel.superclass.onRender.call(this, ct, position);
|
Ext.deluge.details.TabPanel.superclass.onRender.call(this, ct, position);
|
||||||
Deluge.Events.on('disconnect', this.clear, this);
|
Deluge.Events.on('disconnect', this.clear, this);
|
||||||
Deluge.Torrents.on('rowclick', this.onTorrentsClick, this);
|
Deluge.Torrents.on('rowclick', this.onTorrentsClick, this);
|
||||||
|
this.on('tabchange', this.onTabChange, this);
|
||||||
|
|
||||||
Deluge.Torrents.getSelectionModel().on('selectionchange', function(selModel) {
|
Deluge.Torrents.getSelectionModel().on('selectionchange', function(selModel) {
|
||||||
if (!selModel.hasSelection()) this.clear();
|
if (!selModel.hasSelection()) this.clear();
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue