Fix check being the wrong way around.

This commit is contained in:
Dave Davenport 2016-11-26 16:57:13 +01:00
parent 425f8d1cd6
commit 4f3c7f122e
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ static void rofi_view_nav_row_tab ( RofiViewState *state )
*/
inline static void rofi_view_nav_row_select ( RofiViewState *state )
{
if ( state->list_view ) {
if ( state->list_view == NULL ) {
return;
}
unsigned int selected = listview_get_selected ( state->list_view );