Closing the initial progress dialog when the torrent list has been loaded

This commit is contained in:
Artem Glebov 2013-03-09 11:55:20 +03:00
parent 50e9e2f286
commit 5cb7c5f99a

View file

@ -61,8 +61,8 @@ class TransmissionGUI(xbmcgui.WindowXMLDialog):
xbmcgui.Dialog().ok(_(2), message) xbmcgui.Dialog().ok(_(2), message)
return False return False
p.close()
self.updateTorrents() self.updateTorrents()
p.close()
self.repeater = Repeater(1.0, self.updateTorrents) self.repeater = Repeater(1.0, self.updateTorrents)
self.repeater.start() self.repeater.start()
def updateTorrents(self): def updateTorrents(self):