mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix not displaying file list when state changes
This commit is contained in:
parent
971308416b
commit
cbab9cd823
2 changed files with 4 additions and 2 deletions
|
@ -11,6 +11,7 @@ Deluge 0.9.07 - "1.0.0_RC7" (18 August 2008)
|
||||||
* Fix not showing new torrents if you don't use the All label first
|
* Fix not showing new torrents if you don't use the All label first
|
||||||
* Fix size units to be more accurate
|
* Fix size units to be more accurate
|
||||||
* Fix torrentview sorting to be persistent
|
* Fix torrentview sorting to be persistent
|
||||||
|
* Fix not displaying file list when state changes
|
||||||
|
|
||||||
Null:
|
Null:
|
||||||
* Fix #415 crash when using 'config-set' with no parameters
|
* Fix #415 crash when using 'config-set' with no parameters
|
||||||
|
|
|
@ -249,9 +249,9 @@ class FilesTab(Tab):
|
||||||
torrent_id = torrent_id[0]
|
torrent_id = torrent_id[0]
|
||||||
else:
|
else:
|
||||||
# No torrent is selected in the torrentview
|
# No torrent is selected in the torrentview
|
||||||
self.treestore.clear()
|
self.clear()
|
||||||
return
|
return
|
||||||
|
|
||||||
if torrent_id != self.torrent_id:
|
if torrent_id != self.torrent_id:
|
||||||
# We only want to do this if the torrent_id has changed
|
# We only want to do this if the torrent_id has changed
|
||||||
self.treestore.clear()
|
self.treestore.clear()
|
||||||
|
@ -275,6 +275,7 @@ class FilesTab(Tab):
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self.treestore.clear()
|
self.treestore.clear()
|
||||||
|
self.torrent_id = None
|
||||||
|
|
||||||
def _on_row_activated(self, tree, path, view_column):
|
def _on_row_activated(self, tree, path, view_column):
|
||||||
if client.is_localhost:
|
if client.is_localhost:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue