[GTKUI] Fix torrents not showing in classic mode
Commit 5d1aff157e implementing async_add_torrent cause torrents not to show in classic mode.
This commit is contained in:
parent
6287a782a1
commit
3b84eb635c
@ -663,7 +663,6 @@ class TorrentView(ListView, component.Component):
|
|||||||
self.save_state()
|
self.save_state()
|
||||||
|
|
||||||
def on_torrentadded_event(self, torrent_id, from_state):
|
def on_torrentadded_event(self, torrent_id, from_state):
|
||||||
if not from_state:
|
|
||||||
self.add_rows([torrent_id])
|
self.add_rows([torrent_id])
|
||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user