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:
Marek Marczykowski-Górecki 2016-02-08 02:18:13 +01:00
parent e20d87b79b
commit 68d25130ab
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -97,6 +97,7 @@ class QubesChoice(object):
if self.depend is not None:
self.depend.widget.connect('toggled', self.friend_on_toggled)
self.friend_on_toggled(self.depend.widget)
self.instances.append(self)