1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-03-10 17:06:37 -04:00

[Listview] Fix wrong flag set on index

This commit is contained in:
Dave Davenport 2019-12-29 21:19:31 +01:00
parent 50be2b446a
commit cd4607c77c

View file

@ -186,7 +186,7 @@ static void listview_create_row ( listview *lv, _listview_row *row )
row->textbox= textbox_create ( WIDGET ( row->box ), WIDGET_TYPE_TEXTBOX_TEXT, "element-text", TB_AUTOHEIGHT|flags, NORMAL, "DDD", 0, 0 ); row->textbox= textbox_create ( WIDGET ( row->box ), WIDGET_TYPE_TEXTBOX_TEXT, "element-text", TB_AUTOHEIGHT|flags, NORMAL, "DDD", 0, 0 );
box_add ( row->box, WIDGET ( row->textbox ), TRUE); box_add ( row->box, WIDGET ( row->textbox ), TRUE);
} else if ( strcasecmp ( (char*)iter->data, "element-index" ) == 0 ){ } else if ( strcasecmp ( (char*)iter->data, "element-index" ) == 0 ){
row->index= textbox_create ( WIDGET ( row->box ), WIDGET_TYPE_TEXTBOX_TEXT, "element-text", TB_AUTOHEIGHT|flags, NORMAL, " ", 0, 0 ); row->index= textbox_create ( WIDGET ( row->box ), WIDGET_TYPE_TEXTBOX_TEXT, "element-text", TB_AUTOHEIGHT, NORMAL, " ", 0, 0 );
box_add ( row->box, WIDGET ( row->index ), FALSE); box_add ( row->box, WIDGET ( row->index ), FALSE);
} }
} }