Fix deferred for loading user-specified UIs
In UIManager, pass self._load_ui into deferred as function object instead of calling immediately
This commit is contained in:
parent
5ea945ca0b
commit
87cc487051
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class UIManager(object):
|
||||||
log.info("User specified UI directory doesn't exist, using " + self.branch)
|
log.info("User specified UI directory doesn't exist, using " + self.branch)
|
||||||
elif self.loaded_branch == "user-specified":
|
elif self.loaded_branch == "user-specified":
|
||||||
log.info("Loading user provided UI")
|
log.info("Loading user provided UI")
|
||||||
d = defer.maybeDeferred(self._load_ui())
|
d = defer.maybeDeferred(self._load_ui)
|
||||||
return d
|
return d
|
||||||
else:
|
else:
|
||||||
log.info("Checking for updates for UI branch: " + self.branch)
|
log.info("Checking for updates for UI branch: " + self.branch)
|
||||||
|
|
Loading…
Add table
Reference in a new issue