Ephoto: Don't switch directory when genlist is clicked but an item is not (i.e.. scrolling)

This commit is contained in:
Stephen okra Houston 2016-08-23 09:53:57 -05:00
parent 5b6826d785
commit 4ca10ed862
1 changed files with 1 additions and 12 deletions

View File

@ -604,17 +604,6 @@ _fsel_mouse_up_cb(void *data, Evas *e EINA_UNUSED,
_on_list_selected(db, NULL, item);
}
}
else if (!item)
{
Elm_Object_Item *it;
it = elm_genlist_selected_item_get(db->fsel);
if (it)
elm_genlist_item_selected_set(it, EINA_FALSE);
ephoto_directory_set(db->ephoto, db->ephoto->top_directory, NULL, 0, 1);
ephoto_title_set(db->ephoto, db->ephoto->top_directory);
}
if (info->button != 3)
return;