mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-23 04:54:51 +00:00
Fix not displaying file list when state changes
This commit is contained in:
parent
0f1f5529ba
commit
0918272480
1 changed files with 2 additions and 1 deletions
|
@ -249,7 +249,7 @@ class FilesTab(Tab):
|
|||
torrent_id = torrent_id[0]
|
||||
else:
|
||||
# No torrent is selected in the torrentview
|
||||
self.treestore.clear()
|
||||
self.clear()
|
||||
return
|
||||
|
||||
if torrent_id != self.torrent_id:
|
||||
|
@ -275,6 +275,7 @@ class FilesTab(Tab):
|
|||
|
||||
def clear(self):
|
||||
self.treestore.clear()
|
||||
self.torrent_id = None
|
||||
|
||||
def _on_row_activated(self, tree, path, view_column):
|
||||
if client.is_localhost:
|
||||
|
|
Loading…
Add table
Reference in a new issue