qubes/vm/qubesvm: fix label setting/loading
This commit is contained in:
parent
f536935632
commit
84eb082ed2
@ -115,8 +115,7 @@ class QubesVM(qubes.vm.BaseVM):
|
|||||||
#
|
#
|
||||||
|
|
||||||
label = qubes.property('label',
|
label = qubes.property('label',
|
||||||
setter=(lambda self, prop, value: self.app.labels[
|
setter=(lambda self, prop, value: self.app.get_label(value)),
|
||||||
int(value.rsplit('-', 1)[1])]),
|
|
||||||
ls_width=14,
|
ls_width=14,
|
||||||
doc='''Colourful label assigned to VM. This is where the colour of the
|
doc='''Colourful label assigned to VM. This is where the colour of the
|
||||||
padlock is set.''')
|
padlock is set.''')
|
||||||
|
Loading…
Reference in New Issue
Block a user