[#2813] [GTKUI] Fix connection manager showing daemon offline in Windows
The daemon status is not retrieved when showing the connection manager at
startup on Windows and shows it as offline.
This commit restores the removal of simulate call in commit 058b0e41d2
but applies it only to Windows OS as there were no problems in Ubuntu testing.
It would suggest then that the issue is isolated to PortableGtkReactor
but the exact cause of the problem is still unknown.
This commit is contained in:
parent
1a2ff9b089
commit
21789e0692
|
@ -452,6 +452,9 @@ class GtkUI(object):
|
||||||
break
|
break
|
||||||
|
|
||||||
if self.config["show_connection_manager_on_start"]:
|
if self.config["show_connection_manager_on_start"]:
|
||||||
|
if deluge.common.windows_check:
|
||||||
|
# Call to simulate() required to workaround showing daemon status (see #2813)
|
||||||
|
reactor.simulate()
|
||||||
self.connectionmanager.show()
|
self.connectionmanager.show()
|
||||||
|
|
||||||
def __on_disconnect(self):
|
def __on_disconnect(self):
|
||||||
|
|
Loading…
Reference in New Issue