mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
Fix showing the preferences dialog when not connected to a daemon
This commit is contained in:
parent
f61e86d7b3
commit
cb78682415
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue