Browse Source

Adding icon argument to EmType::create() method

Yann Weber 9 years ago
parent
commit
65166a5dfd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      EditorialModel/types.py

+ 1
- 1
EditorialModel/types.py View File

@@ -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

Loading…
Cancel
Save