mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-05 08:03:40 +00:00
Update the list 2 seconds after starting the daemon
This commit is contained in:
parent
01fbda7c9e
commit
464073e596
@ -27,6 +27,7 @@ import pkg_resources
|
||||
import urlparse
|
||||
import time
|
||||
import hashlib
|
||||
from twisted.internet import reactor
|
||||
|
||||
import deluge.component as component
|
||||
import deluge.common
|
||||
@ -455,7 +456,7 @@ class ConnectionManager(component.Component):
|
||||
|
||||
elif status == "Offline":
|
||||
client.start_daemon(port, deluge.configmanager.get_config_dir())
|
||||
self.__update_list()
|
||||
reactor.callLater(2.0, self.__update_list)
|
||||
|
||||
def on_button_refresh_clicked(self, widget):
|
||||
self.__update_list()
|
||||
|
Loading…
x
Reference in New Issue
Block a user