[#2514] [GTKUI] Every torrent is displayed twice in classic mode

This commit is contained in:
bendikro 2014-10-04 23:37:44 +02:00 committed by Calum Lind
commit 7a2092d3c4

View file

@ -608,6 +608,8 @@ class TorrentView(listview.ListView, component.Component):
self.save_state()
def on_torrentadded_event(self, torrent_id):
if self.got_state is False:
return
self.add_row(torrent_id)
self.mark_dirty(torrent_id)