|
@@ -41,7 +41,7 @@ class EmType(EmComponent):
|
41
|
41
|
# @see EmComponent::__init__()
|
42
|
42
|
#
|
43
|
43
|
# @todo check that em_class is an EmClass object (fieldtypes can handle it)
|
44
|
|
- def create(c, name, em_class, sortcolumn='rank', **em_component_args):
|
|
44
|
+ def create(c, name, em_class, sortcolumn='rank', icon=None, **em_component_args):
|
45
|
45
|
return super(EmType, c).create(name=name, class_id=em_class.uid, sortcolumn=sortcolumn, **em_component_args)
|
46
|
46
|
|
47
|
47
|
@property
|