summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-03 20:33:30 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-03 20:33:30 +0100
commit953e260511328ab16139188b03351eb3a40f16fb (patch)
treebc2182fae0c72e3d5c42e49311fa87b87f34fecd /source/view.c
parent3f8c5378c4767f0b9519c537f91585eaaf4bb53c (diff)
When order is reversed. reverse listview order fix #523
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/view.c b/source/view.c
index 4b46242e..fab115bf 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1505,6 +1505,9 @@ RofiViewState *rofi_view_create ( Mode *sw,
widget_disable ( WIDGET ( state->overlay ) );
state->list_view = listview_create ( "listview", update_callback, state, config.element_height );
+ if ( end ){
+ listview_reverse ( state->list_view, TRUE );
+ }
// Set configuration
listview_set_multi_select ( state->list_view, ( state->menu_flags & MENU_INDICATOR ) == MENU_INDICATOR );
listview_set_scroll_type ( state->list_view, config.scroll_method );