fix the torrent grid, clear the torrents on disconnect, not logout
This commit is contained in:
parent
1b0e08b3d9
commit
82a5b5262c
|
@ -227,7 +227,7 @@
|
|||
initComponent: function() {
|
||||
Deluge.TorrentGrid.superclass.initComponent.call(this);
|
||||
deluge.events.on('torrentRemoved', this.onTorrentRemoved, this);
|
||||
deluge.events.on('logout', this.onDisconnect, this);
|
||||
deluge.events.on('disconnect', this.onDisconnect, this);
|
||||
|
||||
this.on('rowcontextmenu', function(grid, rowIndex, e) {
|
||||
e.stopEvent();
|
||||
|
|
Loading…
Reference in New Issue