diff options
Diffstat (limited to 'textscreen/txt_separator.c')
-rw-r--r-- | textscreen/txt_separator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/textscreen/txt_separator.c b/textscreen/txt_separator.c index 2013edac..038fa19b 100644 --- a/textscreen/txt_separator.c +++ b/textscreen/txt_separator.c @@ -71,9 +71,8 @@ txt_separator_t *TXT_NewSeparator(char *label) separator = malloc(sizeof(txt_separator_t)); - separator->widget.widget_class = &txt_separator_class; + TXT_InitWidget(separator, &txt_separator_class); separator->widget.selectable = 0; - separator->widget.visible = 1; if (label != NULL) { |