mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Call update() prior to setting the timer
This commit is contained in:
parent
9ac9f13044
commit
f2a38204d7
1 changed files with 3 additions and 0 deletions
|
@ -809,6 +809,9 @@ class DelugeGTK:
|
|||
# self.torrent_model.append([0, 1, "Hello, World", 2048, 50.0, "Hi", 1, 2, 1, 2, 2048, 2048, 120, 1.0])
|
||||
for uid in self.manager.get_unique_IDs():
|
||||
self.torrent_model.append(self.get_list_from_unique_id(uid))
|
||||
# Call update now so everything is up-to-date when the window gains focus on startup
|
||||
self.update()
|
||||
|
||||
gobject.timeout_add(1000, self.update)
|
||||
try:
|
||||
self.is_running = True
|
||||
|
|
Loading…
Add table
Reference in a new issue