forked from openlp/openlp
match list behaviour
This commit is contained in:
parent
3f1e7f1912
commit
88a3ac6216
@ -209,6 +209,8 @@ class CategoryList(object):
|
||||
for category in self.categories:
|
||||
if category.name == name:
|
||||
self.categories.remove(category)
|
||||
return
|
||||
raise ValueError('Category "%s" does not exist.' % name)
|
||||
|
||||
|
||||
class ActionList(object):
|
||||
|
Loading…
Reference in New Issue
Block a user