mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
fix the torrent grid, clear the torrents on disconnect, not logout
This commit is contained in:
parent
1b0e08b3d9
commit
82a5b5262c
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@
|
||||||
initComponent: function() {
|
initComponent: function() {
|
||||||
Deluge.TorrentGrid.superclass.initComponent.call(this);
|
Deluge.TorrentGrid.superclass.initComponent.call(this);
|
||||||
deluge.events.on('torrentRemoved', this.onTorrentRemoved, 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) {
|
this.on('rowcontextmenu', function(grid, rowIndex, e) {
|
||||||
e.stopEvent();
|
e.stopEvent();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue