summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2021-07-08 15:54:57 +0200
committerDave Davenport <qball@gmpclient.org>2021-07-08 15:55:38 +0200
commit0c3d24136d354f58a0ca84edb4dc7bc072dfbf7e (patch)
treea5a24cdd01c399541c15713ed915950d53b5a2d3
parent382a497c4edfa1d749a86c04f61ea74fd64b4207 (diff)
[Listview] Fix wrong widget name.
Fixes: #1349
-rw-r--r--source/widgets/listview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/widgets/listview.c b/source/widgets/listview.c
index 6c0ca7fa..8c98207a 100644
--- a/source/widgets/listview.c
+++ b/source/widgets/listview.c
@@ -177,7 +177,7 @@ static void listview_add_widget ( listview *lv, _listview_row *row, widget *wid,
box_add ( (box *) wid, WIDGET ( row->textbox ), TRUE );
}
else if ( strcasecmp ( label, "element-index" ) == 0 ) {
- row->index = textbox_create ( WIDGET ( wid ), WIDGET_TYPE_TEXTBOX_TEXT, "element-text", TB_AUTOHEIGHT, NORMAL, " ", 0, 0 );
+ row->index = textbox_create ( WIDGET ( wid ), WIDGET_TYPE_TEXTBOX_TEXT, "element-index", TB_AUTOHEIGHT, NORMAL, " ", 0, 0 );
box_add ( (box *) wid, WIDGET ( row->index ), FALSE );
}
else {