mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 02:48:39 +00:00
[#2514] [GTKUI] Every torrent is displayed twice in classic mode
This commit is contained in:
parent
3e632600c6
commit
7a2092d3c4
1 changed files with 2 additions and 0 deletions
|
@ -608,6 +608,8 @@ class TorrentView(listview.ListView, component.Component):
|
||||||
self.save_state()
|
self.save_state()
|
||||||
|
|
||||||
def on_torrentadded_event(self, torrent_id):
|
def on_torrentadded_event(self, torrent_id):
|
||||||
|
if self.got_state is False:
|
||||||
|
return
|
||||||
self.add_row(torrent_id)
|
self.add_row(torrent_id)
|
||||||
self.mark_dirty(torrent_id)
|
self.mark_dirty(torrent_id)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue