1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00

[Listview] Fix wrong widget name.

Fixes: #1349
This commit is contained in:
Dave Davenport 2021-07-08 15:54:57 +02:00 committed by Dave Davenport
parent cf6832ea95
commit ac5fd1180b

View file

@ -177,7 +177,7 @@ static void listview_add_widget ( listview *lv, _listview_row *row, widget *wid,
box_add ( (box *) wid, WIDGET ( row->textbox ), TRUE ); box_add ( (box *) wid, WIDGET ( row->textbox ), TRUE );
} }
else if ( strcasecmp ( label, "element-index" ) == 0 ) { 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 ); box_add ( (box *) wid, WIDGET ( row->index ), FALSE );
} }
else { else {