Merge pull request #2729 from kived/listview-text-kwarg

don't require a text argument for CompositeListItems
This commit is contained in:
dessant 2016-02-27 00:15:17 +02:00
commit ddd01fef2d
1 changed files with 1 additions and 1 deletions

View File

@ -703,7 +703,7 @@ class CompositeListItem(SelectableView, BoxLayout):
if cls_kwargs:
cls_kwargs['index'] = index
if 'text' not in cls_kwargs:
if 'text' not in cls_kwargs and text:
cls_kwargs['text'] = text
if 'is_representing_cls' in cls_kwargs: