mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +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
|
# This starts a series of client.core requests prior to showing the window
|
||||||
client.core.get_config().addCallback(_on_get_config)
|
client.core.get_config().addCallback(_on_get_config)
|
||||||
|
else:
|
||||||
|
self._show()
|
||||||
|
|
||||||
def _show(self):
|
def _show(self):
|
||||||
if self.core_config != {} and self.core_config != None:
|
if self.core_config != {} and self.core_config != None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue