mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[web] improvement: default pre-selected installation category is now 'Network'
This commit is contained in:
@@ -485,6 +485,11 @@ class WebApplicationManager(SoftwareManager):
|
||||
if opt.value == app.categories[0]:
|
||||
def_cat = opt
|
||||
break
|
||||
else:
|
||||
for op in cat_ops:
|
||||
if op.value == 'Network':
|
||||
def_cat = op
|
||||
break
|
||||
|
||||
inp_cat = SingleSelectComponent(label=self.i18n['category'], type_=SelectViewType.COMBO, options=cat_ops, default_option=def_cat)
|
||||
op_wv = InputOption(id_='widevine', label=self.i18n['web.install.option.widevine.label'] + ' (DRM)', value="--widevine", tooltip=self.i18n['web.install.option.widevine.tip'])
|
||||
|
||||
Reference in New Issue
Block a user