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

[Listview] Check max_rows on nav_right/left.

Fixes: #1297
This commit is contained in:
Dave Davenport 2021-04-10 22:26:37 +02:00
parent 44d8320e5c
commit 8ac9890e8b

View file

@ -770,6 +770,9 @@ void listview_nav_right ( listview *lv )
if ( lv == NULL ) {
return;
}
if ( lv->max_rows == 0 ) {
return;
}
if ( lv->type == BARVIEW ) {
listview_nav_down_int ( lv );
return;