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
|
# 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…
Reference in New Issue