mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-05 08:03:40 +00:00
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…
x
Reference in New Issue
Block a user