mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
change where clearing of torrentdetails is done
This commit is contained in:
parent
f6640db58e
commit
e47e7920cc
2 changed files with 1 additions and 1 deletions
|
@ -59,6 +59,7 @@ class Signals:
|
||||||
log.debug("torrent id: %s", torrent_id)
|
log.debug("torrent id: %s", torrent_id)
|
||||||
# Remove the torrent from the treeview
|
# Remove the torrent from the treeview
|
||||||
self.ui.mainwindow.torrentview.remove_row(torrent_id)
|
self.ui.mainwindow.torrentview.remove_row(torrent_id)
|
||||||
|
self.ui.mainwindow.torrentdetails.clear()
|
||||||
|
|
||||||
def torrent_paused(self, torrent_id):
|
def torrent_paused(self, torrent_id):
|
||||||
log.debug("torrent_paused signal received..")
|
log.debug("torrent_paused signal received..")
|
||||||
|
|
|
@ -84,7 +84,6 @@ class TorrentDetails:
|
||||||
selected = selected[0]
|
selected = selected[0]
|
||||||
else:
|
else:
|
||||||
# No torrent is selected in the torrentview
|
# No torrent is selected in the torrentview
|
||||||
self.clear()
|
|
||||||
return
|
return
|
||||||
|
|
||||||
# Get the torrent status
|
# Get the torrent status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue