firstboot: set 'Whonix' option to inactive when no Whonix templates installed

QubesOS/qubes-issues#1258
This commit is contained in:
Marek Marczykowski-Górecki 2015-11-23 19:10:45 +01:00
parent cdd4294938
commit d98d7dbf94
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -320,7 +320,8 @@ class moduleClass(Module):
self.choice_network.widget.set_active(True)
self.choice_default.widget.set_active(True)
self.choice_whonix.widget.set_active(True)
if self.choice_whonix.widget.get_sensitive():
self.choice_whonix.widget.set_active(True)
self.qubes_gid = grp.getgrnam('qubes').gr_gid
self.stage = "Initialization"