change where clearing of torrentdetails is done

This commit is contained in:
Marcos Pinto 2007-09-23 09:41:53 +00:00
parent f6640db58e
commit e47e7920cc
2 changed files with 1 additions and 1 deletions

View File

@ -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..")

View File

@ -84,7 +84,6 @@ class TorrentDetails:
selected = selected[0]
else:
# No torrent is selected in the torrentview
self.clear()
return
# Get the torrent status