aboutsummaryrefslogtreecommitdiff
path: root/dw/listitem.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-11-05 22:14:34 +0000
committercorvid <corvid@lavabit.com>2009-11-05 22:14:34 +0000
commit6c0d6e7fc75f961eee5a7ea8cb26e45a3b1a57ff (patch)
tree45cecb6b71a51ebe0d0fe785fd2b675075de4f24 /dw/listitem.cc
parentbae3ae510e46fea2a70d273da64b88bedc248a65 (diff)
hasListitemValue for Textblock
Diffstat (limited to 'dw/listitem.cc')
-rw-r--r--dw/listitem.cc3
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 ();