change where clearing of torrentdetails is done
This commit is contained in:
parent
f6640db58e
commit
e47e7920cc
|
@ -59,6 +59,7 @@ class Signals:
|
|||
log.debug("torrent id: %s", torrent_id)
|
||||
# Remove the torrent from the treeview
|
||||
self.ui.mainwindow.torrentview.remove_row(torrent_id)
|
||||
self.ui.mainwindow.torrentdetails.clear()
|
||||
|
||||
def torrent_paused(self, torrent_id):
|
||||
log.debug("torrent_paused signal received..")
|
||||
|
|
|
@ -84,7 +84,6 @@ class TorrentDetails:
|
|||
selected = selected[0]
|
||||
else:
|
||||
# No torrent is selected in the torrentview
|
||||
self.clear()
|
||||
return
|
||||
|
||||
# Get the torrent status
|
||||
|
|
Loading…
Reference in New Issue