mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 19:55:57 +00:00
Fix showing the preferences dialog when not connected to a daemon
This commit is contained in:
parent
f61e86d7b3
commit
cb78682415
@ -180,6 +180,8 @@ class Preferences(component.Component):
|
||||
|
||||
# This starts a series of client.core requests prior to showing the window
|
||||
client.core.get_config().addCallback(_on_get_config)
|
||||
else:
|
||||
self._show()
|
||||
|
||||
def _show(self):
|
||||
if self.core_config != {} and self.core_config != None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user