From b39058910f9acf29a91e503b51f62fe6e2e0c6a9 Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Sun, 7 Dec 2014 12:43:57 -0600 Subject: [PATCH] don't require a text argument for CompositeListItems --- kivy/uix/listview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivy/uix/listview.py b/kivy/uix/listview.py index efba458b0..1636c75c5 100644 --- a/kivy/uix/listview.py +++ b/kivy/uix/listview.py @@ -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: