firstboot: make sure choice dependencies are properly initialized
Execute dependency check at option initialization, not only first user action there.
This commit is contained in:
parent
e20d87b79b
commit
68d25130ab
@ -97,6 +97,7 @@ class QubesChoice(object):
|
|||||||
|
|
||||||
if self.depend is not None:
|
if self.depend is not None:
|
||||||
self.depend.widget.connect('toggled', self.friend_on_toggled)
|
self.depend.widget.connect('toggled', self.friend_on_toggled)
|
||||||
|
self.friend_on_toggled(self.depend.widget)
|
||||||
|
|
||||||
self.instances.append(self)
|
self.instances.append(self)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user