diff options
Diffstat (limited to 'dw/listitem.cc')
-rw-r--r-- | dw/listitem.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/listitem.cc b/dw/listitem.cc index f4499400..02a91eb7 100644 --- a/dw/listitem.cc +++ b/dw/listitem.cc @@ -30,7 +30,6 @@ ListItem::ListItem (ListItem *ref, bool limitTextWidth): AlignedTextblock (limitTextWidth) { registerName ("dw::ListItem", &CLASS_ID); - listItem = true; setRefTextblock (ref); } @@ -41,6 +40,7 @@ ListItem::~ListItem() void ListItem::initWithWidget (core::Widget *widget, core::style::Style *style) { + hasListitemValue = true; addWidget (widget, style); addSpace (style); updateValue (); @@ -48,6 +48,7 @@ void ListItem::initWithWidget (core::Widget *widget, void ListItem::initWithText (const char *text, core::style::Style *style) { + hasListitemValue = true; addText (text, style); addSpace (style); updateValue (); |