Fixed error in qubesmanager utils
Fix in app.labels caused an old workaround to malfunction. fixes QubesOS/qubes-issues#3475
This commit is contained in:
parent
985f8fb56d
commit
2cffffdcff
@ -113,7 +113,7 @@ def prepare_label_choice(widget, holder, propname, default, *args, **kwargs):
|
||||
app = holder
|
||||
|
||||
return prepare_choice(widget, holder, propname,
|
||||
sorted(app.labels, key=lambda l: l.index),
|
||||
sorted(app.labels.values(), key=lambda l: l.index),
|
||||
default, *args,
|
||||
icon_getter=(lambda label: QIcon.fromTheme(label.icon)),
|
||||
**kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user