diff --git a/deluge/ui/gtkui/signals.py b/deluge/ui/gtkui/signals.py index 3ae091c0c..1698af094 100644 --- a/deluge/ui/gtkui/signals.py +++ b/deluge/ui/gtkui/signals.py @@ -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..") diff --git a/deluge/ui/gtkui/torrentdetails.py b/deluge/ui/gtkui/torrentdetails.py index c99605639..f7fd2e0c2 100644 --- a/deluge/ui/gtkui/torrentdetails.py +++ b/deluge/ui/gtkui/torrentdetails.py @@ -84,7 +84,6 @@ class TorrentDetails: selected = selected[0] else: # No torrent is selected in the torrentview - self.clear() return # Get the torrent status